North Korea has fired a ballistic missile in the first such test since Donald Trump took office as US president.
Mr Trump assured Japan's Prime Minister Shinzo Abe that "America stands behind Japan, its great ally, 100%".
The missile flew east towards the Sea of Japan for about 500km (300 miles), South Korean officials say.
Mr Abe said the test was "absolutely intolerable". Japanese officials say the missile did not reach its waters.
Speaking at a joint conference during a visit to the US, Mr Abe added that Mr Trump had also assured him that he was committed to "further enforcing our alliance".
During his election campaign, Mr Trump said US defence commitments to Japan and South Korea were unfair and also called for Japan to pay the full cost of stationing US troops on its soil.
North Korea has conducted a number of nuclear tests in the past year that continue to alarm and anger the region.
Sunday's launch took place at 07:55 local time (22:55 GMT Saturday) from the Banghyon air base in North Pyongan province on the west side of the Korean peninsula.
The missile reached an altitude of about 550km (350 miles), according to a South Korean official quoted by Reuters news agency, and appeared to be a Rodong medium-range missile.
In January, North Korean leader Kim Jong-un warned that his military was close to testing long-range missiles capable of reaching the United States and carrying nuclear warheads.
Mr Trump derided the claim in a tweet, saying: "It won't happen."
South Korea's foreign ministry said that "North Korea's repeated provocations show the Kim Jong-un regime's nature of irrationality, maniacally obsessed in its nuclear and missile development".
Japan's Chief Cabinet Secretary Yoshihide Suga confirmed the missile had not reached Japanese territorial waters, adding that Tokyo would make a "strong protest" to North Korea over the incident.
There has so far been no comment from North Korea.
On a visit to South Korea last week, US Defence Secretary James Mattis said that any use of nuclear weapons by North Korea would be met with an "effective and overwhelming" response.
He also reconfirmed plans to deploy a US missile defence system in South Korea later this year.
North Korea conducted its fifth test of a nuclear device last year, and claims it is capable of carrying out a nuclear attack on the US, though experts are still unconvinced that its technology has progressed that far.
Have your say
More World Headlines
- Togo: child shot, killed during clashes between protesters, security forces
- William Barr nominated by Donald Trump to be US attorney general
- South Africa mob kills suspected arsonist
- If US builds missiles, so will we – Putin
- Liberia electricity crisis: 'About 60% of power stolen'
- British PM suffers setbacks as Brexit debate starts in parliament
- ‘Fake First Lady’ arrested in Nigeria
- Michelle Obama revisits London school that inspired education drive
- UK uproar as Africa deportees not contacted
- Nigerian President Buhari denies death and body double rumours
- US-China trade war: Deal agreed to suspend new trade tariffs
- Public transport crisis looms in Nairobi
- British MP reveals he is HIV-positive
- Riot police clash with Paris protesters
- Namibia's success in the fight against HIV