How can I find my MPLAB® XC Compiler Activation key?

If the license is activated on one of your machines, you can follow any of these three methods to look up your activation key:


Open MPLAB® X IDE and go to Tools>Licenses>License Status.
This will open a dialog which contains the activation key details.


Executing this command from your machine’s command prompt will show the activation key:
xclm -status

If you encounter an error such as “xclm is not recognized as a command”, it indicates that the xclm is not in your machine’s environment path. You may add it to your path manually or follow these steps:

1. Change to the bin folder of the compiler installation directory.
E.g., for XC8 v1.45: pushd "C:\Program Files (x86)\Microchip\xc8\v1.45\bin"

2. Execute the command: xclm -status


You can also look up the Activation Key under the mySoftware account where the compiler is registered. Login through the MPLAB X IDE, or on the website at:

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.