The invention is generally directed to systems and methods for ophthalmic surgery, and more particularly to systems and methods for phacoemulsification using vacuum-based aspiration pumps. In accordance with one embodiment, a vacuum-based phacoemulsification system, having a handpiece, includes a subsystem to detect an occlusion occurring at the handpiece during operation.