It depends on the manufacturer and the specific warranty terms. In some cases, upgrading hardware components may void the warranty. It is best to check with the manufacturer or consult the warranty documentation before making any hardware upgrades.