Will Ferrell and Paul Rudd were both fans of the podcast "The Shrink Next Door", which explored the bizarre real-life relationship of patient Marty and his therapist Dr. Ike.
The actors say there was no question about who would play whom, with Ferrell saying he felt a responsibility playing Marty.