Gmina Nieporęt is a rural gmina (administrative district) in Legionowo County, Masovian Voivodeship, in east-central Poland. Its seat is the village of Nieporęt, which lies approximately 9 kilometres (6 mi) east of Legionowo and 24 km (15 mi) north of Warsaw.
The gmina covers an area of 100.52 square kilometres (38.8 sq mi), and as of 2006 its total population is 12,908 (13,466 in 2013).
Gmina Nieporęt contains the villages and settlements of Aleksandrów, Beniaminów, Białobrzegi, Izabelin, Józefów, Kąty Węgierskie, Michałów-Grabina, Nieporęt, Rembelszczyzna, Rynia, Stanisławów Drugi, Stanisławów Pierwszy, Wola Aleksandra, Wólka Radzymińska and Zegrze Południowe.
Gmina Nieporęt is bordered by Warsaw, by the towns of Legionowo and Marki, and by the gminas of Jabłonna, Radzymin, Serock and Wieliszew.