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