Short Answer: A successful window well replacement starts with finding the right size well for your basement window so that it fits properly and directs water away from the foundation. Local building codes also play a role, especially when the basement is used as a bedroom, and the well needs to meet egress safety standards….