China's economy grew by 6.9% between April and June according to official figures, slightly higher than many economists had forecast.
The growth rate, which compares expansion with the same three months in the previous year, was the same as in the first quarter of 2017.
Beijing is trying to rein in debt and a housing bubble with tough measures on the property sector and lenders.
Many analysts expected China's economy to slow as those policies kicked in.
But the latest data is well above Beijing's 6.5% growth target for 2017.
That target is below last year's 6.7% GDP rate which was China's weakest pace in 26 years.