Question: do alec and magnus stay together in the books?
Answer: After deciding to finally open up more about his past to Alec, the couple reconciled and got back together. The couple has since adopted two children: the first being a warlock that was abandoned on the steps of the Academy on the day that they were visiting, and the second being a Shadowhunter orphan of war.