WASHINGTON—The International Monetary Fund cautiously endorsed measures to limit surges of capital across borders, easing off decades of gospel about the free flow of money around the world.

The fund, releasing Monday what it called its "institutional view," said temporary measures to tame the flow of capital into and out of economies can be appropriate after other economic measures.

Countries...