Window Replacement Permit: A permit for replacing or installing windows, which many cities require only when the opening, structure, egress or safety glazing changes.
Same Opening vs. New Opening
Many cities treat a replacement window installed in the existing opening as ordinary maintenance. Changing the size of the opening, cutting a new one or closing one up is different, because it touches the wall's framing and may require a new header. Those are the changes that usually bring in a building permit.
Some cities require a permit for any window replacement, often to confirm energy and safety compliance. Policy varies by city, and this site has no research page on window rules, so read your city's own page.
Egress and Safety Glazing
Bedroom windows have to work as an emergency exit. If a replacement changes the size, sill height or the way a bedroom window opens, it may no longer meet egress rules; see egress window. Windows near doors, in bathrooms and low to the floor often need tempered glass; see safety glazing.
Replacement windows must typically meet the same rules as new ones in these two respects, even where no permit is required. A contractor who skips the permit still has to leave the room with a working exit, and a buyer's inspector may check it at sale. If you are unsure about the opening's size, measure the clear opening with the sash open, not the frame.
Energy Code and Other Rules
Replacement windows commonly have to meet the local energy code, which sets a maximum heat-loss rating and may require a label that shows it. Historic districts may require windows to match the originals and may ask for a review first; see historic district review. In wildfire or hurricane areas, windows may need a specific impact or fire rating.
An HOA may also control window style and color, separate from the city. Manufacturer labels on the new glass should be left in place until any inspection, since they show the energy rating and the safety glazing mark.
Where Windows Come Up on This Site
Windows appear in the bathroom remodel research, where 22 of 30 cities put the building permit at a wall, structure or window change, and in the kitchen remodel research, which found that walls and structure turn a kitchen into a building permit in 21 cities, and the garage conversion guide. The how to apply guide shows the steps when a permit is needed. Because window rules are not compared in a research page here, use these as the nearest analogue and confirm your own city's wording with a quick call, describing whether the new windows are the same size as the old ones.