The decision follows a nationwide campaign by the British Heart Foundation (BHF) Scotland charity encouraging councils across Scotland to make the life-saving commitment.
Colin Beattie MSP said:
“I’m really pleased that Midlothian has now joined with other local authorities to commit to training all secondary pupils in CPR. This move will bring about significant benefits for the pupils and their local communities.
“It’s important not only because it means they could potentially help save the life of a loved one, friend or someone else in their community, but also because it gives them new skills and knowledge for life.
“I congratulate Midlothian Council for committing to this initiative and BHF Scotland for their successful campaigning on the issue.”