Fetching details from the dictionary...
opposite effect; adverse effect; backfiring
かえって逆効果だった。
It actually backfired.
その方法では逆効果になることもある。
That approach can sometimes produce the opposite effect.
子供を無理に勉強させると逆効果を生む場合がある。
Forcing children to study can sometimes be counterproductive.