Net income in the fiscal fourth quarter was $8.2 billion, or $8.67 per share. That was up 24 percent from $6.6 billion, or $7.05 per share, a year ago.
Analysts polled by FactSet were expecting earnings of $8.84 per share.
Revenue was $36 billion, up 27 percent from a year ago. Analysts were expecting $35.8 billion.
The Cupertino, Calif., company sold 26.9 million iPhones in the quarter, at the high end of expectations. The launch of iPhone 5 came late in the quarter and didn't move the needle much.
For the full fiscal year, Apple's net income was $41.7 billion, or $27.68 per share. That was up 61 percent from the year before. Revenue was $156.5 billion, up 46 percent.
Copyright 2012 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.