Certain inherited conditions may also cause spinal stenosis. For example, some people are born with a small spinal canal. Others are born with or develop scoliosis, which causes sideways curves of the spine. Both of these conditions can affect the nerves in the spine.