The purpose of the article is to analyze the current legislation in order to determine the ratio of generally recognized principles of labor law and the obligations of the parties to labor relations, including the obligation of the state to ensure protection against unemployment. The authors analyzed the norms of the Labor Code of the Republic of Kazakhstan concerning the duties of employers and employees of the guiding party, the norms of the Social Code of the Republic of Kazakhstan in relation to some issues of legal regulation of unemployment. As a result of the analysis of the current labor and related legislation, the authors came to the conclusion that some norms of the Labor Code of the Republic of Kazakhstan, as well as the new Social Code of the Republic of Kazakhstan, are discriminatory. In particular, the legal status of employees and employees of the sending party in the Labor Code of the Republic of Kazakhstan varies, especially regarding the duties of employees of the sending party. Thus, a number of signs were identified that make it possible to conclude that despite the lack of equal rights and opportunities for employees of the sending party in comparison with ordinary employees engaged in labor activities under the employment contract, the obligations of the above-mentioned parties to labor relations coincide. In some cases, some duties inherent in ordinary workers are unnecessarily imputed to the employees of the guiding party. As an example, the obligation of the employee of the sending party to compensate for material damage to the employer in case of violation of the non-competition condition is given. In addition, the analysis of some norms of the Social Code of the Republic of Kazakhstan concerning the legal regulation of unemployment made it possible to determine the trends of discrimination against individuals. Thus, clause 6, paragraph 3, article 99 of the Social Code of the Republic of Kazakhstan limits the right of convicted persons in protection against unemployment by the state. The authors point to the need to revise some of the current legislation in order to exclude discrimination in the workplace.