While carriers don’t like you tampering with their hardware and software, some manufacturers have become kinder to rooters and even those who install third-party software. This leads us nicely onto warranties, which is another grey area in the world of rooting. Warranties and legalities - is rooting legal? If your device stops booting after an attempted root exploit, you can usually restore it to factory specifications relatively easily. Occasionally, an update will block old root methods, and sometimes rooted devices will fail to install updates. Updating will often cause root permissions to be lost, in which case the procedure will need to be performed again.
Furthermore, rooting can cause some issues with official OTA handset updates - but it is usually fine to install new software manually once you’re rooted.