Question: when does elena turn her humanity on?
Answer: Towards the end of season four, Damon kills Matt in front of Elena to trigger her grief. After revealing that Matt had the Gilbert Ring on, Elena's humanity was switched on and her emotions were focused on hate towards Katherine for killing Jeremy.