The spleen is located in the upper left side of the abdomen, beneath the rib cage and behind the stomach.