The secretary of state for energy is a senior official within the Ministry for the Ecological Transition of the Government of Spain.
Most of this competencies are exercised in coordination with the National Commission on Markets and Competition (CNMC).
In 2002, the competences over economy and over Energy and SMEs split in two Secretariats of State recovering its autonomy for 2 years until the change of government of 2004, when the new prime minister relegated the body to a General Secretariat level within the Ministry of Industry, Tourism and Trade.
In 2018, the new government modification integrated the Secretariat of State in the Ministry of Environment in order to establish a transversal environmental policy.
In addition, the state-owned enterprises National Company of Radioactive Waste (ENRESA) and Strategic Reserves of Petroleum Products Corporation (CORES) are under the tutelage of the Secretariat of State.