The 27-year-old, who had turned up outside the 'Friends With Benefits' star's Beverly Hills gym three days in a row last year, was also placed on probation for five years and will spend six months in a rehabilitation centre, reported E! Online.
Dunn has repeatedly been arrested in his pursuit of Kunis, 29. He was arrested in February 2012 after being found living in an apartment she owns, and again in May after he waited for her for three days outside her gym.
He had been in custody since his May 4 arrest. Los Angeles superior court Judge George Lomeli gave Dunn credit for 528 days he spent in jail. He was also ordered to stay away from Kunis's agents, managers and assistants.
Shikhar Dhawan birthday: Top 10 scores by an Indian on Test debut
Spotted: Shilpa Shetty, Raj Kundra at a Mumbai multiplex
Spotted: Virat Kohli, Anushka Sharma and other celebs at Mumbai airport
Photos: Salman Khan's 'special friend' Iulia Vantur at a song launch
Photos: Hrithik Roshan, Anushka Sharma, other celebs dazzle at event