A window frame costs anywhere from $200 to $1,000 to replace, depending on the material type and how much material needs replacing. You'll replace a sash rather than repair them unless you're restoring historic windows.