Sulfonamides poses many types of biological activities and have recently been reported to show substantial antitumor activity in vitro and/or in vivo. There are a variety of mechanisms for the anticancer activity and the most prominent of these is through the inhibition of carbonic anhydrase isozymes. The present work reports the synthesis of some novel quinoline and pyrimido[4,5-b]quinoline derivatives bearing a substituted or unsubstituted sulfonamide moiety. The design of the structures of these compounds complies with the general pharmacophore of the sulfonamide compounds that act as carbonic anhydrase (CA) inhibitors as this may play a role in their anticancer activity. All the newly synthesized compounds were evaluated for their in vitro anticancer activity against breast cancer cell line (MCF7). Most of the screened compounds showed interesting cytotoxic activities compared to a reference drug.