Yellowstone National Park is primarily located in the U.S. state of Wyoming, with small portions extending into Montana and Idaho.