WASHINGTON—Mike Flynn, President Donald Trump’s national security adviser, resigned Monday as he was under increasing fire over his conflicting statements about his contacts with Russian officials before the inauguration, the White House said.

Mr. Flynn’s resignation was accepted by Mr. Trump after information about his Russia contacts continued to emerge while the president was “evaluating” whether to keep him in his post.

The...