Madea Goes to Jail. Madea Goes to Jail is a 2009 American comedy-drama film written and directed by Tyler Perry, which was based on his 2006 play. The play and the film deal with Perry's signature character Madea going to prison for her uncontrollable anger management problems. The film was released on February 20, 2009.