The actor and musician currently appears in the network's cult series Community, which returns for a fourth season on Friday, October 19.
Glover - who also previously wrote for 30 Rock - has teamed with that show's co-executive producer Matt Hubbard for his new project, TV Guide reports.
NBC is said to be interested in the pilot, but Glover's new comedy will remain "in second position" to his role on Community, meaning that he would be unable to pursue the project should his current series be picked up for a fifth run.
The new comedy is loosely based on Glover's life. In addition to acting and writing, the 28-year-old also works as a stand-up comic and records music under the alias Childish Gambino.
> Leona Lewis, Childish Gambino debut new single 'Trouble' - listen
> Leona Lewis on Childish Gambino collaboration: 'He's witty and poetic
Watch a clip of Donald Glover on Community below: