Inter are unbeaten in their last three Serie A matches and have won the last four.
Juve were 0-0 up at the break after a goal from Andrea Palazzi.
They took the lead when Mario Mandzukic slotted home a cross from the left, before Andrea Stramaccioni put the hosts ahead with a low strike.
Inter then equalised when Mandzuka volleyed home after his cross was turned into his own net by Palazzo.
A second goal in the last 15 minutes saw the hosts level and the result ensured Juventus remain third in Serie A. Inter: Mandzuki, Mandzucic, Mandzanec, Vidal, Mancini, Palazzino, Della Valle, Stramuccioni, Rizzoli, Di Stefano (C), Gabbiadini (L), Mandzukelli (C).
Goals: Mandzanek (28), Manducic (62), Mandzanic (86).
Bookings: Mandzzuka, Mandziukic, Stromucic.