No, this lens is only compatible with EF-M mount cameras. The Rebel T7 would require EF mount lenses.