Mui X Missing License Key Remove May 2026
If you're seeing a error in MUI X (Data Grid, Date Pickers, Charts, Tree View, etc.), it means you’re using a premium MUI X component without a proper commercial license.
import LicenseInfo from '@mui/x-data-grid-premium'; // or pro // Disable license warning (only if you're 100% sure you're using free features only) LicenseInfo.setLicenseKey(''); mui x missing license key remove
- import DataGridPremium from '@mui/x-data-grid-premium'; + import DataGrid from '@mui/x-data-grid'; And remove any premium features from your grid. (not recommended) // Temporarily mute the error const originalError = console.error; console.error = (...args) => if (args[0]?.includes('MUI X license key')) return; originalError(...args); ; Does not remove the visual watermark. Summary Table | Situation | Solution | |-----------|----------| | Using only free features | Remove premium props & set license to '' | | Have a valid license | LicenseInfo.setLicenseKey('key') | | Want to buy a license | MUI X Store | | Remove completely | Switch to @mui/x-data-grid (free) | | Just hide for dev | Use 'demo' key (not for production) | If you need help identifying which premium feature is triggering the license error, share your grid code and I’ll point it out. If you're seeing a error in MUI X
Then in .env :