Install stair handrails at the height suggested by national and state building codes, which is 30 to 34 inches. If no codes regulate stair handrail height in your area, you have the freedom to install the rails at a different height, but as suggested, 36 to 40 inches is the best for preventing falls.