Two eight-year-old children were taken to hospital after the car they were travelling in spun several times on slippery roads and hit an electricity pole.
The car carrying a family of a man, 39, a woman, 40, and the two children left the A702 one mile north of Carlops in the Scottish Borders at 10pm on Thursday.
Firefighters administered first aid until the ambulance crews arrived.
The children were taken to the Royal Hospital for Sick Children in Edinburgh and their mother was taken to Edinburgh Royal Infirmary as a precaution.
A spokesperson for the fire service said: "There was a road traffic accident on the A702 one mile north of Carlops involving one vehicle which spun several times due to a slippery road before hitting a wooden electricity pole.
"There were four occupants two males aged eight and 39 and two females aged eight and 40. They were given first aid until the ambulance crews arrived."
A spokeswoman for the ambulance service said: "There were two kids, a mum and dad. The dad was uninjured while the mum was taken to Edinburgh Royal Infirmary for a check up and the children were taken in a separate ambulance to the Royal Hospital for Sick Children."