Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Does my 2009 imac have a Optical audio out through the 3.5 mm headphone port like my mbpr does?
As others have stated, yes it does. One thing to note is that the iMac internal speakers are cut off when you use the sound output jack(port) on the iMac.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.