The official said that the test was conducted from a site near Semnan, which is east of Tehran. The official further said that the last time this type of missile was test launched was in July 2016.
White House spokesman Sean Spicer said during a press briefing, "We're looking into that. We're aware that Iran fired that missile . We're looking into the exact nature of it, and I'll try to have more for you later."
It was not immediately clear whether the test launch violated a United Nations Security Council resolution.
U.N. Security Council resolution 1929 stated, "Iran is prohibited from undertaking any activity related to ballistic missiles capable of carrying nuclear weapons and States are required to take all necessary measure to prevent the transfer of related technology or technical assistance."
News of the latest test comes as French Foreign Minister Jean-Marc Ayrault arrived in the Iranian capital for a two-day visit.
Ayrault vowed that France would act as defender of Iran 's nuclear deal, saying it was in the "common interest" that the 2015 accord was obeyed. Tehran agreed to curb its nuclear program in return for lifted sanctions.