A benzoxazine polymer having improved thermal properties. The properties are improved by inserting aromatic polyamines into the monomer, such as phenylenediamine, methylenedianiline, oxydianiline, diaminodiphenylsulfone, 2,2-bis(4-[aminophenoxy]phenyl)propane, 4,4'-oxydianiline, 4,4'-diaminodiphenyl sulfone, and diaminobenzanilide, to introduce internal benzoxazine groups that are crosslinking sites. The improved polymers can be converted into molding compounds, towpregs, and prepregs by being compounded with reinforcing fibers.