The news was given by Prime Minister Pedro Sánchez, who said that "we will in this way reduce bills that families and businesses are paying".
He was speaking during an event on EU aid for post-COVID recovery.
Sanchez said that, with this gas ceiling, the maximum cost will be around half of the current cost.
A similar measure, he added, will also be approved in Portugal, another country that the EU has granted an exception to as concerns the functioning of the energy market.