It borders North Dakota and South Dakota to the east, Wyoming to the south and Idaho to the west and southwest.