It depends on the motherboard's socket type. Some motherboards support CPU upgrades within the same socket type, but you should always check compatibility with your motherboard manufacturer.