The asteroid Apophis had it’s last close encounter with earth in January, 2013. Although Apophis will continue to pass through our orbit, it will be a safe distance from earth until 2029 when it will have an extremely close brush with Earth.
The orbit of asteroid Apophis around the sun is 323.6 days, very similar to the Earths orbit of 365.25 days. All things being equal, Apophis would pass Earth every 7 years and 9 months, but since its orbit isn’t exactly circular, this can vary by a few months. Each pass will have 2 separate close approaches. Although Apophis travels into our orbit at roughly the same spot every pass, Earth is always at a different position in that orbit because of our longer duration around the Sun.
You can see it clearly in this animation showing you where Apophis is right now and how far it is from Earth.
Thank you to David Carson for the up-to-date animation.