Speaking to reporters alongside USA ambassador to the UN Nikki Haley at a press conference in the White House, McMaster, the nation's top security chief, said the USA was running out of options on North Korea.
On Thursday North Korea fired an intermediate range ballistic missile over the northern Japanese island of Hokkaido.
"For those who have said and who have been commenting on a lack of a military option, there is a military option", he said at the White House briefing, though he noted that it was not the administration's preferred route for dealing with the nation's aggressiveness.
Though they were not their top choices for the region, Haley and McMaster said, they were available to the President.
Trump and first lady Melania Trump met with military families and watched an air show demonstration at the base that serves as the home of Air Force One, the presidential plane.
The Security Council passed its most stringent package of sanctions against North Korea yet on Monday, in response to claims by the nuclear power that it had tested a hydrogen bomb. "We have strangled their economic situation", Haley said, explaining that there is no way North Korea will not feel the impact of the latest sanctions, which cut off 90 percent of all North Korean exports. He calls on all nations to enforce them and do everything they can to address the threat and prevent war.
"We try and push through as many diplomatic options as we have", Haley said during the White House briefing.
The ambassador said she has "no problem kicking it to Gen. Mattis", the U.S. Defense Secretary, because "I think he has plenty of options". "Now, it's not what we prefer to do".
The launch is the second to flyover Japan in less than a month, and the first since North Korea's sixth nuclear test and new United Nations sanctions on the country.