Question: what episode does elena get all of her memories back?
Answer: In Season 6 episode 7 Elena attempts to step over the barrier line to remember and she does remember parts but at the same time it was killing her because of the reverse vampirism. But in Season 6 episode 20 she takes the cure and all her memories come back.