Two and Half Men was on the air for 12 years – and over the course of the series, plenty of celebrities guest starred on the show.

RELATED: Angus T. Jones Returns to 'Two and a Half Men' for Series Finale and Looks SO Different

Scroll down to see 11 stars you may have forgotten were in some of the episodes.

Miley Cyrus

miley cyrus – cbs
CBS

John Stamos

john stamos – cbs

Megan Fox

megan fox – cbs

Enrique Iglesias

enrique iglesias – cbs

Chris O'Donnell

chris o'donnell – cbs

Mila Kunis

mila kunis – cbs

Hilary Duff

hilary duff – cbs

Jason Alexander

jason alexander – cbs

Heather Locklear

heather locklear – cbs

Kathy Bates

kathy bates – cbs

Denise Richards

denise richards – cbs