Devices which are larger than a typical smartphone will no longer be allowed on as carry-on luggage.
Direct flights operated by easyJet, British Airways, Monarch, Thomas Cook and Thomson will be hit by the new rules.
Overseas airlines forced to follow the regulations include Turkish Airlines, Pegasus Airways, Atlas-Global Airlines, Middle East Airlines, EgyptAir, Royal Jordanian, Tunis Air and Saudia.
“The safety and security of the travelling public is our highest priority”
Direct flights from the six countries affected by the ban are Turkey, Lebanon, Jordan, Egypt, Tunisia and Saudi Arabia.
If airline companies fail to comply with the new regulations, they will be stopped from flying planes into the UK.
Plane operators have been told of the changes, but the government has warned that it may take a few days for the regulations to take effect.
The unprecedented move follows a similar measure announced in the US banning large electronic devices from eight mainly-Muslim nations.
British government officials did not confirm if the new law was prompted by specific security intelligence.
The official threat level for international terrorism has stood at severe for two years, meaning an attack is “highly likely”.
A Government spokesman said: “The safety and security of the travelling public is our highest priority. That is why we keep our aviation security under constant review and put in place measures we believe are necessary, effective and proportionate.”