Juventus reached the Italian Cup quarter-finals after beating Serie A strugglers Empoli 5-3 in a Turin thriller on Tuesday to advance 6-5 on aggregate.