The company said after the bell Monday that its first-quarter profit rose to $30.4 million, or 14 cents a share, from $5 million, or 2 cents a share, a year earlier.
Revenue rose to $824 million from $714 million a year earlier.
Analysts had been expecting the company to earn 11 cents a share on revenue of $776.1 million.
"In the first quarter, we met seasonally stronger demand from our customers in the desktop PC and personal entertainment markets," said Chairman and CEO Matt Massengill. "We shipped approximately 1.8 million hard drives into personal entertainment applications such as game consoles and digital video recorders, as we continued to expand our presence in markets outside our traditional stronghold of desktop PCs."
Shares of Western Digital rose 11 cents, or 1.4%, to $8.28.
Western Digital and other hard-disk makers have fallen on hard times recently; rivals
announced earnings reports last week that for the most part fell short of Wall Street expectations.