The singer and actress will play Missi, an old family friend of Walden's (Ashton Kutcher) who comes to visit and develops a relationship with Jake (Angus T Jones).
Watch brand new Two and a Half Men Mondays at 9pm exclusively on Comedy Central UK
Cyrus's motor-mouthed character will appear in the fourth episode of Two and a Half Men's tenth season, 'You Do Know What the Lollipop's For'.
The 19-year-old star recently dropped out of a new TV version of Bonnie and Clyde and also revealed that she turned down a role on Fox's The X Factor.
Miley Cyrus appears in Comedy Central's Two and a Half Men on Monday, October 22 at 9pm.
> Liam Hemsworth fooled by Miley Cyrus hospital rumours
> Miley Cyrus intruder sentenced to 18 months