We have designed and developed an easily accessible advanced intermediate of ledipasvir that allowed late-stage cyclopropanation and difluorination, thereby providing a novel and more efficient process for the preparation of ledipasvir in the longest linear sequence of 8 steps with 20% overall yield.