It depends. You need to make sure that the electrical specs are the same. For example, the adapter I have for a 13" MacBook Pro is 16.5V @ 3.65A. If both adapters are identical in the voltage and amperage, then there shouldn't be a problem. If either of those are different, then you will run the risk of damaging things.