Mr. Sunshine is based on a concept by Matthew Perry, who planned to co-write, star in, and executive produce. The project sparked a bidding war among the networks, with ABC landing the comedy in October 2009. The deal came with hefty penalties for ABC if the pilot hadn't made it to series. Perry teamed with Sony writers Alex Barnow and Marc Firek to pen the script.
Thomas Schlamme, of Shoe Money Productions, was chosen to direct the half-hour pilot. Perry, Schlamme, and co-writers Barnow and Firek were all listed as executive producers for the pilot, along with
Jamie Tarses of FanFare Productions. In February,
Andrea Anders was tapped as Ben's "friend with benefits", and
Nate Torrence brought on board to play Roman, the son of Ben's boss. The casting of
Portia Doubleday as Ben's assistant, and
James Lesure as an ex-basketball star, was announced at the end of April. In May 2010, ABC picked up the pilot for the 2010–2011 television season. On May 13, 2011, ABC announced that it had canceled
Mr. Sunshine. == Episodes ==