The International Residential Code states that egress windows can be under a deck as long as the window has a path that’s 36 inches wide by 36 inches tall and leads to a yard or court. The window must also be fully openable.