Moriarty is a city in Torrance County, New Mexico, United States. The population was 1,946 at the 2020 Census. It is part of the Albuquerque Metropolitan Statistical Area. Moriarty is about ten miles east of Edgewood, New Mexico, and shares a school district with the town, despite them being in separate counties.