* Trump vows tariffs on Mexico unless illegal immigration ends
* Spot gold up 1.5% so far this month
* Platinum heads for biggest monthly loss since 2015
* Silver on track for fourth straight monthly loss (New throughout, updates prices, market activity and comments)
By Eileen Soreng
May 31 (Reuters) - Gold climbed to a seven-week high on Friday and was headed for its first monthly gain in four months, as investors sought a safe haven after U.S. President Donald Trump threatened tariffs on imports from Mexico, which fed fears of a global downturn.
Spot gold jumped 1% to $1,301.81 an ounce by 12:08 p.m. ET (1608 GMT), having hit its highest since April 11 at $1,304.24.
The bullion has risen by about 1.5% so far this month and is also on track for a second consecutive weekly gain, advancing by about 1.4% for the week.
U.S. gold futures rose 1.1% to $1,301.50.
"People are doing fear trade now and running towards gold," said Michael Matousek, head trader at U.S. Global Investors. He noted investors were unsure of what Trump planned to do.
"That tells you need to have higher allocation to gold in your portfolios."
Trump on Thursday said Washington will impose a 5% tariff on all goods coming from Mexico, starting on June 10, until the flow of illegal immigrants into the United States ceases.
Meanwhile, Mexico's President Andres Manuel Lopez Obrador said he would respond with "great prudence" to the threats and called on Mexicans to unite to deal with the challenge.
U.S. stocks opened sharply lower, hit by fears that Trump's threat of tariffs on Mexico could prove the trigger that pushes the world's largest economy into recession.
"The dollar index is still in the 98-area, which is normally a headwind for gold but because of the extreme stock tumbling, it seems to be ignoring the normal headwind," said George Gero, managing director at RBC Wealth Management.
"Gold is probably going to stay in this $1,300 area as long as the selloff (in equities) continues."
The dollar briefly trimmed its losses versus a basket of currencies on Friday as stronger-than-forecast data on U.S. consumer spending and income in April tempered some worries about a slowing U.S. economy.
Meanwhile, expectations of a cut in interest rates by the U.S. Federal Reserve increased after recent weak economic readings from the United States added to concerns raised by the prolonged U.S.-China trade dispute.
U.S. interest rate futures rose on Friday as traders increased their bets on more than one rate cut from the Fed.
Lower interest rates would support gold because they reduce the opportunity cost of holding non-yielding bullion.
Elsewhere, silver rose 0.4% higher to $14.58 an ounce but looked poised to register for a fourth consecutive monthly loss.
Platinum was up 0.3% at $793.44, but was on track for its biggest monthly loss since November 2015, down about 10%.
Palladium slipped 2.4% to $1,333.69 and was down about 3.9% for the month. (Reporting by Eileen Soreng, Diti Pujara and Harshith Aranya in Bengaluru Editing by Marguerita Choy and David Gregorio)