Excluding restructuring and other one-time items, it earned 65 cents per share. Revenue rose 13 percent to $1.72 billion.
Analysts expected adjusted income of 64 cents per share and $1.73 billion in revenue, according to FactSet.
Looking ahead, Mylan is forecasting adjusted income of $2.75 to $2.95 per share and revenue of $7 billion to $7.4 billion in 2013. Analysts expect income of $2.81 per share and $7.14 billion in revenue on average.
Shares of Mylan gained 24 cents to close at $28.57 during the regular session, then added 3.3 percent to $29.50 in after-hours trading.