King Felipe VI and Queen Letizia of Spain were to visit London and stay at Buckingham Palace with Queen Elizabeth II from June 6-8.
Queen Elizabeth and the King of Spain have agreed that the planned Spanish state visit to the United Kingdom in June has been postponed until July.
But the palace said Friday that the British monarch and King Felipe have agreed that it should be postponed "in light of the General Election".
But Prime Minister Theresa May's decision to hold a snap general election on June 8 has thrown the visit in doubt.
Tensions between Spain and Britain have grown in recent weeks over the future of Gibraltar after the European Union's draft position on Brexit talks gave specific mention to the small British Overseas Territory on Spain's southern tip. Plans for them to come previous year were called off because of Spain's difficulty in forming a government.
Spain's foreign minister, Alfonso Dastis, said his country does not deem it appropriate to continue with the state visit when politicians will be on the campaign trail and parliament has been dissolved.
The state visit by the King and Queen of Spain may be delayed for a second time despite assurances by No 10 only days ago that it would go ahead.