Apparatus for removal of a thrombus from a body of a subject includes an electrically-insulating tube, which includes a distal end having a circumferential wall that is shaped to define one or more perforations, configured for insertion into the body of the subject, an outer electrode, disposed over the distal end of the electrically-insulating tube, and configured to lie at least partly within the thrombus while the electrically-insulating tube is inside the body of the subject, and an inner electrode, configured to lie, within the tube, opposite the perforations, while the outer electrode lies at least partly within the thrombus. The outer electrode is configured to attract the thrombus while the outer electrode lies at least partly within the thrombus and the inner electrode lies opposite the perforations, when a positive voltage is applied between the outer electrode and the inner electrode such that electric current flows through the perforations.