The signature of the self-microlensing in compact binaries (white dwarfs, neutron stars and black holes) is a flare with the characteristic time of typically a few minutes. The probability of detecting these microlensing events can be as high as 1/50 for a flux sensitivity of Δm=0.01 in magnitude. The discovery of the self-microlensing by binaries would furnish an additional way to find the masses of the lens and the companion and will be promising for the searches of black holes.