The incident took place at Ganesh Colony area in Nashik on Monday, a police official said.
"The boy, who lives in the same locality as the teacher, climbed on to the window of the bungalow, where she stays, and then flashed at her," the official said.
The teacher was writing something in her house when the alleged incident took place. She filed a complaint with the police later.
The police booked the minor under section 354 (assault or criminal force to woman with intent to outrage her modesty) of the Indian Penal Code.
According to police, the accused had tried to molest the victim in the past as well.
In a similar incident in March, a 41-year-old railway guard was arrested for allegedly flashing a college student at Ghansoli station in Navi Mumbai.
The accused, AK Singh, had surrendered before the Government Railway Police (GRP) at the Vashi Railway Police Station after which he was placed under arrest.
AK Singh, who was on duty at Ghansoli, allegedly exposed himself indecently to the college student as she was walking on the platform.
With inputs from PTI
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019