President Barack Obama defended his signature health-care act in a speech that described his pride in the achievements of the law dubbed Obamacare and acknowledged significant challenges his successor will face.

Early in the sweeping 50-minute speech in Miami on Thursday, Mr. Obama described the 2010 Affordable Care Act as a “starter home,” in one of the clearest signs yet of scaled-back ambitions for a law once envisaged as...