The Casimir forces induced by fluctuations of electromagnetic field have been measured with a high precision at distances above 60 nm. Although at shorter separations the magnitude of the force increases, it is more complicated to measure the forces at distances below 50 nm. We review the problems that appear in this range of distances and their possible solutions. The first problem is related to the pull-in instability that occurs when two surfaces get too close to each other. As a particular manifestation of this problem, the spontaneous formation of the capillary bridges at distances ~10 nm is discussed. As an alternative, we discuss the method of adhered cantilever, which does not suffer from the pull-in instability. The second problem ...