The European Commission said Spain should "optimise" its profiling system at the Gibraltar border "in order to reduce the large amount of random border controls".
However, the EU said the Spanish authorities had not broken any EU laws with its tight border checks.
"The Commission has not found evidence to conclude that the checks on persons and goods as operated by the Spanish authorities at the crossing point ... have infringed the relevant provisions of Union law," it said in a statement.
More top news
Hollywood film directors are being asked by the US government to help combat the allure of the so-called Islamic state on social media.
A cross-party group of politicians have teamed up to launch a campaign to "take a stand" against online abuse.
Months of messages contradict the public claims of doctors during the dispute and reveal pay was central to their row with the Government.