Hello, and welcome. You point your camera at a tall building, tilt upward to fit the whole thing in frame, and the walls lean inward. The building is perfectly straight. Your photo is not.


That inward lean is called keystone distortion, and it happens on almost every first attempt at shooting architecture.


Why tilting the camera bends walls


When you tilt a camera up, the top of the building sits farther from the sensor center than the bottom. The lens projects that distance as a lean, so vertical lines converge toward the top. Shoot a 40-story tower with a phone tilted back 15 degrees and those corners pinch together hard. The fix starts with holding the camera level, not with editing later. Level the back of the camera so the sensor plane stays parallel to the building face, and the verticals stay vertical.


Keep the sensor parallel to the wall


Stand square to the facade and keep the camera back flat, not tipped up or down. On a tripod, a bubble level or the in-camera electronic level on most mirrorless bodies gets you there in seconds. If the whole building won't fit, step back instead of tilting. A 24mm lens on a full-frame body covers a lot of structure from across the street, and you keep every edge straight. For a 300-foot tower, backing up 50 yards often does more than any slider.


Use shift, not software


A tilt-shift lens moves the front glass up and down without tilting the body, so you capture the top of the building while the sensor stays level. Canon's TS-E 24mm f/3.5L II and Nikon's PC-E 24mm f/3.5D ED are the two most common picks for this. Set the lens on a tripod, shift upward, and the verticals hold. Editing software can stretch converging lines back, but it crops your frame and softens the corners. A shift lens maintains full resolution and true proportions.


Watch the wide-angle trap


Wide lenses pull edges outward and exaggerate any lean you already have. A 16mm shot of a doorway looks fine until you notice the frame bowing at the sides. Barrel distortion is distinct from keystone, and both can appear in cheap zooms. Test your lens on a brick wall at 16mm, 24mm, and 35mm, then note where the lines stay clean. Most kit zooms are worst at the widest end, so shooting at 24mm instead of 16mm often removes half the problem before you touch anything else.


Fix what's left in post


Some lean survives even with good technique, especially indoors where you can't back up. Lightroom's Transform panel and Photoshop's Perspective Warp both correct converging verticals, and the guided Upright tool in Lightroom handles most facades in one click. Correct in small amounts. Push it too far, and the building looks stretched, windows turn oval, and the top floor gains height it never had. Straighten, then check a known horizontal line like a window sill to confirm the correction didn't overshoot.


Practice on one clean facade


Pick a single building with strong vertical lines; a plain office block or a brick wall works, and shoot it five ways: tilted, level, backed up, shifted, and corrected in post. Compare the frames side by side, and you'll see exactly which step fixes what. That one exercise teaches more than a dozen random shots around town.


Next time a building looks like it's falling over in your frame, check your camera angle before you blame the lens or the edit. Level the body, step back, and the walls will stand up straight where they belong.