ISTANBUL—The Turkish economy slowed to 2.9% expansion on the year in the second quarter, a lower rate than expected, suggesting that the government could fail to meet its 4% economic growth target this year.

Monday's official gross domestic product growth figure was below the average forecast of 3.3% growth, according to seven analysts polled by Dow Jones Newswires.

In...