The present invention provides a method capable of effectively detecting cancer by finding a novel cancer marker. The present invention also provides a pharmaceutical composition for preventing or treating cancer. The present invention relates to a method for detecting cancer by detecting the expression of a U7 polypeptide in a sample derived from a test subject.