The invention discloses a lens and a lamp. The lens is used for the lamp. The lamp comprises a light-emitting part, and the lens comprises a lens body. The lens body is arranged on the side, facing the ceiling, of the light-emitting part and is opposite to the ceiling in the first direction. In the first direction, the lens body comprises a first side wall face facing the light-emitting part and a second side wall face deviating from the light-emitting part. The second side wall surface is provided with a
first light guide structure and a second
light guide structure. The first side wall face is configured to refract light emitted by the light emitting part to the second side wall face, the
first light guide structure can refract part of the light to the side, facing a ceiling in the first direction, of the lens body, and the second
light guide structure can reflect part of the light to the
peripheral side, in the second direction, of the lens body. The
light intensity of the
peripheral side of the lens body is larger than the
light intensity of the side, facing the ceiling, of the lens body. According to the scheme, the shadow and overexposure phenomena of the ceiling above the lamp can be effectively avoided, and the light illumination efficiency and the illumination effect are improved.