An inbred corn line, designated AB7, is disclosed. The invention relates to the seeds of inbred corn line AB7, to the plants and plant parts of inbred corn line AB7 and to methods for producing a corn plant, either inbred or hybrid, by crossing inbred line AB7 with itself or another corn line. The invention further relates to methods for producing a corn plant containing in its genetic material one or more transgenes and to the transgenic plants produced by that method and to methods for producing other inbred corn lines derived from inbred corn line AB7.