When windows are newly installed, they should fit perfectly in the space allotted for them. After a few years, however, it is possible that a house may settle, and the window frame may shift slightly, causing cracks between the frame and the wall. If cracking around a window frame appears after an earthquake or another major event, have your home inspected for structural damage. If the crack appears slowly over time, it probably is a natural shift, and you can fix the cracking space yourself.
Step One
SEALANT - Clean around the cracked area with a clean wet rag, wiping dirt and dust from around the crack. Allow the area to dry completely.