The film was written by Steven Soderbergh in eight days on a yellow legal pad during a cross country trip (although, as Soderbergh points out in his DVD commentary track, he had been thinking about the film for a year).
Principal photography took thirty days in Baton Rouge, Louisiana.