Gmina Leszno is a rural gmina (administrative district) in Warsaw West County, Masovian Voivodeship, in east-central Poland. Its seat is the village of Leszno, which lies approximately 15 kilometres (9 mi) west of Ożarów Mazowiecki and 28 km (17 mi) west of Warsaw.
The gmina covers an area of 125.03 square kilometres (48.3 sq mi), and as of 2006 its total population is 8,791 (9,987 in 2013).
Gmina Leszno contains the villages and settlements of Czarnów, Czarnów-Towarzystwo, Feliksów, Gawartowa Wola, Grabina, Grądki, Grądy, Julinek, Kępiaste, Korfowe, Ławy, Leszno, Łubiec, Marianów, Plewniak, Podrochale, Powązki, Roztoka, Stelmachowo, Szadkówek, Szymanówek, Trzciniec, Walentów, Wąsy-Kolonia, Wąsy-Wieś, Wiktorów, Wilków, Wilkowa Wieś, Wólka, Wyględy, Zaborów and Zaborówek.
Gmina Leszno is bordered by the gminas of Błonie, Czosnów, Izabelin, Kampinos, Leoncin, Ożarów Mazowiecki, Stare Babice and Teresin.