A numerical controller of the invention includes a multi-core processor having a plurality of central processing unit (CPU) cores. Herein, importance is assigned in advance to each of a plurality of processes related to numerical control, and load distribution of the multi-core processor is performed by allocating the respective processes to the plurality of CPU cores based on the assigned importance.