The Emmy Award winner is best known for his roles on TV's "The West Wing" and "Studio 60 on the Sunset Strip."
His new hour-long show is to start shooting next year, The Hollywood Reporter said, adding Fox has already ordered 13 episodes.
Whitford reportedly will play Dan, a drunken police detective on the edge, who vexes his straight-laced partner, Jack. The entertainment industry trade newspaper did not say who will play Jack.
Yosemite climber falls 30 feet, suffers major injuries
Moore to attend retreat in to avoid Kutcher's wedding