Imidazopyrimidines and triazolopyrimidines as A2A / A2B inhibitors

By developing Imidazopirimidine and Trizoropirimidine compounds, as A2A/A2B receptor inhibitors, it solves the immunosuppression problem caused by excessive adenosine levels in cancer and inflammatory diseases, enhances the immune system's ability to recognize and attack tumors, and inhibits tumor growth and metastasis.

JP7624476B2Active Publication Date: 2025-01-30INCYTE CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023096889
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-01-16
Filing Date
2023-06-13
Publication Date
2025-01-30
Estimated Expiration
2039-02-26

AI Technical Summary

Technical Problem

The prior art has failed to effectively solve the problem of hyperimmune response in cancer, inflammatory and neurodegenerative diseases, especially the abnormally high adenosine levels in the tumor microenvironment inhibit the anti-tumor ability of the immune system.

Method used

Imidazopirimidine and Trizoropirimidine compounds were developed as A2A/A2B receptor inhibitors, which bind to adenosine receptors through specific chemical structures, regulate immune responses, inhibit excessive immune responses, and enhance anti-tumor immunity.

Benefits of technology

Effectively inhibit A2A and A2B adenosine receptors, reduce adenosine levels in the tumor microenvironment, improve the immune system's ability to recognize and attack tumors, and inhibit tumor growth and metastasis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007624476000001
    Figure 0007624476000001
  • Figure 0007624476000002
    Figure 0007624476000002
  • Figure 0007624476000003
    Figure 0007624476000003
Patent Text Reader

Abstract

To provide compounds which modulate the activity of adenosine receptors, such as subtypes A2A and A2B, and are useful in the treatment of cancer, for example.SOLUTION: This application relates to compounds of Formula (I) or pharmaceutically acceptable salts or stereoisomers thereof, where X is CR3; R3 is H, D, halo, C1-6 alkyl, C2-6 alkenyl, C6-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, 4-14 membered heterocycloalkyl or the like; R1 is H, C1-6 alkyl, C2-6 alkenyl or the like; R2 is H, D, halo, C1-6 alkyl, C2-6 alkenyl or the like; Cy1 is C6-14 aryl, C3-14 cycloalkyl, or 5-14 membered heteroaryl; Cy2 is C6-14 aryl, C3-14 cycloalkyl, 5-14 membered heteroaryl, or 4-14 membered heterocycloalkyl.SELECTED DRAWING: None
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention provides imidazopyrimidine and triazolopyrimidine compounds that modulate the activity of adenosine receptors, e.g., subtypes A2A and A2B, and are useful in the treatment of diseases associated with adenosine receptor activity, including, for example, cancer, inflammatory diseases, cardiovascular diseases, and neurodegenerative diseases. [Background technology]

[0002] Adenosine is an extracellular signaling molecule that can regulate immune responses via many types of immune cells. Adenosine was first recognized as a physiological regulator of coronary vascular tone by Drury and Szent-Gyorgyu (Sachdeva, S. and Gupta, M. Saudi Pharmaceutical Journal, 2013, 21, 245-253), but it was not until 1970 that Sattin and Rall demonstrated that adenosine regulates cellular function through the occupation of specific receptors on the cell surface (Sattin, A., and Rall, T.W., 1970, Mol. Pharmacol. 6, 13-23; Hasko', G., at al., 2007, Pharmacol. Ther. 113, 264-275).

[0003] Adenosine plays an important role in various other physiological functions. When linked to three phosphate groups, it participates in the synthesis of nucleic acids; it forms ATP, an essential component of the cellular energy system. Adenosine can be generated by enzymatic degradation of extracellular ATP or can be released from injured neurons and glial cells by crossing damaged cell membranes (Tautenhahn, M. et al. Neuropharmacology, 2012, 62, 1756-1766). Adenosine exerts various pharmacological effects in both the peripheral and central nervous systems through its action on specific receptors located on the cell membrane (Matsumoto, T. et al. Pharmacol. Res., 2012, 65, 81-90). Alternative pathways for extracellular adenosine production have been described. These pathways involve the production of adenosine from nicotinamide dinucleotide (NAD) rather than ATP through the cooperative action of CD38, CD203a, and CD73. CD73-independent production of adenosine can also occur by other phosphates such as alkaline phosphatase or prostate-specific phosphatase.

[0004] There are four known subtypes of adenosine receptors in humans, including A1, A2A, A2B, and A3 receptors. A1 and A2A are high-affinity receptors, while A2B and A3 are low-affinity receptors. Adenosine and its agonists can act through one or more of these receptors to regulate the activity of adenylate cyclase, an enzyme responsible for increasing cyclic AMP (cAMP). Different receptors have different stimulatory and inhibitory effects on this enzyme. Increased intracellular concentrations of cAMP can suppress the activity of immune and inflammatory cells (Livingston, M. et al., Inflamm. Res., 2004, 53, 171-178).

[0005] A2A adenosine receptors can signal in the periphery and CNS, with agonists explored as anti-inflammatory drugs and antagonists explored for neurodegenerative diseases (Carlsson, J. et al., J. Med. Chem., 2010, 53, 3748-3755). In most cell types, the A2A subtype suppresses intracellular calcium levels, while A2B increases them. A2A receptors generally appear to inhibit inflammatory responses from immune cells (Borrmann, T. et al., J. Med. Chem., 2009, 52(13), 3994-4006).

[0006] A2B receptors are highly expressed in the gastrointestinal tract, bladder, lungs, and on mast cells (Antonioli, L. et al., Nature Reviews Cancer, 2013, 13, 842-857). A2B receptors are structurally closely related to A2A receptors and can activate adenylate cyclase, but are functionally distinct. It has been hypothesized that this subtype may utilize signaling pathways other than adenylate cyclase (Livingston, M. et al., Inflamm. Res., 2004, 53, 171-178). Among all adenosine receptors, A2B adenosine receptors are low-affinity receptors that are thought to remain quiescent under physiological conditions and become activated as a result of increased extracellular adenosine levels (Ryzhov, S. et al., Neoplasia, 2008, 10, 987-995). Activation of the A2B adenosine receptor can stimulate adenylate cyclase and phospholipase C through activation of Gs and Gq proteins, respectively. Coupling to mitogen-activated protein kinase has also been described (Borrmann, T. et al., J. Med. Chem., 2009, 52(13), 3994-4006).

[0007] In the immune system, adenosine signaling may be an important regulatory mechanism for protecting tissues against excessive immune responses. Adenosine can down-regulate immune responses via many types of immune cells, including T cells, natural killer cells, macrophages, dendritic cells, mast cells, and myeloid-derived suppressor cells (Allard, B. et al. Current Opinion in Pharmacology, 2016, 29, 7-16).

[0008] In tumors, this pathway is hijacked by the tumor microenvironment, disrupting the immune system's antitumor capabilities and promoting cancer progression. In the tumor microenvironment, adenosine is primarily generated from extracellular ATP by CD39 and CD73. Multiple cells can generate adenosine by expressing CD39 and CD73. This is the case for tumor cells, effector T cells, regulatory T cells, tumor-associated macrophages, myeloid-derived suppressor cells (MDSCs), endothelial cells, cancer-associated fibroblasts (CAFs), and mesenchymal stromal / stem cells (MSCs). Hypoxia, inflammation, and other immunosuppressive signaling in the tumor microenvironment can induce CD39 and CD73 expression and subsequent adenosine production. As a result, adenosine levels in solid tumors are abnormally high compared to normal physiological conditions.

[0009] A2A is primarily expressed on lymphoid-derived cells, including effector T cells, regulatory T cells, and innate killer cells. Blockade of the A2A receptor can inhibit downstream immunosuppressive signals that temporarily inactivate T cells. A2B receptors are primarily expressed on monocyte-derived cells, including dendritic cells, tumor-associated macrophages, myeloid-derived suppressor cells (MDSCs), and mesenchymal stromal / stem cells (MSCs). Blockade of the A2B receptor in preclinical models can suppress tumor growth, inhibit metastasis, and increase tumor antigen presentation.

[0010] Regarding the safety profile of ADORA2A / ADORA2B (A2A / A2B) blockade, all A2A and A2B receptor knockout mice were viable and fertile without growth abnormalities (Allard, B. et al. Current Opinion in Pharmacology, 2016, 29, 7-16). A2A knockout mice showed increased levels of proinflammatory cytokines only upon challenge with LPS, but showed no evidence of inflammation at baseline (Antonioli, L. et al. Nature Reviews Cancer, 2013, 13, 842-857). A2B knockout mice showed normal platelet, red blood cell, and white blood cell counts, whereas naive A2B knockout mice showed increased inflammation (TNF-alpha, IL-6) at baseline (Antonioli, L. et al. Nature Reviews Cancer, 2013, 13, 842-857). Excessive production of TNF-alpha and IL-6 was detected after LPS treatment. A2B knockout mice also showed increased vascular adhesion molecules that mediate inflammation and leukocyte adhesion / rolling; enhanced mast cell activation; increased susceptibility to IgE-mediated anaphylaxis; and increased vascular leakage and neutrophil influx under hypoxia (Antonioli, L. et al., Nature Reviews Cancer, 2013, 13, 842-857).

[0011] In summary, there is a need to develop novel adenosine receptor selective ligands, for example, for subtypes A2A and A2B, for the treatment of diseases such as cancer, inflammatory diseases, cardiovascular diseases, and neurodegenerative diseases. This application addresses this and other needs. Summary of the Invention

[0012] The present invention relates in particular to compounds of formula (I): [ka] or a pharmaceutically acceptable salt thereof, wherein the components are defined herein.

[0013] The present invention further provides a pharmaceutical composition comprising a compound of formula (I), or a pharmaceutically acceptable salt thereof, and a pharmaceutically acceptable carrier.

[0014] The present invention further provides a method of inhibiting the activity of an adenosine receptor, comprising contacting the receptor with a compound of formula (I), or a pharmaceutically acceptable salt thereof.

[0015] The present invention further provides a method for treating a disease or disorder associated with abnormal expression of adenosine receptors, comprising administering to a patient a therapeutically effective amount of a compound of formula (I), or a pharmaceutically acceptable salt thereof.

[0016] The present invention further provides a compound of formula (I), or a pharmaceutically acceptable salt thereof, for use in any of the methods described herein.

[0017] The invention further provides the use of a compound of formula (I), or a pharmaceutically acceptable salt thereof, for the preparation of a medicament for use in any of the methods described herein. DETAILED DESCRIPTION OF THE INVENTION

[0018] compound The present invention relates in particular to compounds of formula (I): [ka] or a pharmaceutically acceptable salt thereof, wherein: X is N or CR 3 and; R 1 is H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , C(=NR e1 )R b1 , C(=NR e1 )NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O)2R b1 , and S(O)NR c1 R d1 Selected from R 1 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B optionally substituted with substituents; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 R d2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NRc2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; R 3 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a3 , S.R. a3 , NHOR a3 , C(O)R b3 , C(O)NR c3 R d3 , C(O)NR c3 (OR a3 ), C(O)OR a3 ,OC(O)R b3 , OC(O)NR c3 R d3 , N.R. c3 R d3 , N.R. c3 NR c3 R d3 , N.R. c3 C(O)R b3 , N.R. c3 C(O)OR a3 , N.R. c3 C(O)NR c3 R d3 , C(=NR e3 )R b3 , C(=NR e3 )NR c3 R d3 , N.R. c3 C(=NR e3 )NR c3 R d3 , N.R. c3 C(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , N.R. c3 S(O)R b3 , N.R. c3 S(O)2R b3 , N.R. c3 S(O)(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , S(O)R b3 , S(O)NR c3 R d3 , S(O)2R b3 , S(O)NR c3 R d3, OS(O)(=NR e3 )R b3 , OS(O)2R b3 , SF5, P(O)R f3 R g3 , OP(O)(OR h3 )(OR i3 ), P(O)(OR h3 )(OR i3 ), and BR j3 R k3 Selected from R 3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R D optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E optionally substituted with substituents; However, X is N and Cy 1 When is a 4- to 14-membered heterocycloalkyl, then Cy 1 wherein the 4-14 membered heterocycloalkyl is other than unsubstituted morpholinyl; However, Cy 1 is 1, 2, 3, or 4 independently selected R ENot pyridin-4-yl optionally substituted with a substituent; However, Cy 1 is one, two, or three independently selected R E pyrimidin-4-yl optionally substituted with a substituent; However, Cy 1 is 1, 2, 3, 4, 5, or 6 independently selected R E quinolin-4-yl optionally substituted with substituents; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a1 , R c1 , R d1 , R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a1 , R c1 , R d1 , R a2 , Rc2 , R d2 , R a3 , R c3 , and R d3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c1 and R d1 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c3 and R d3 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected RG optionally substituted with substituents; Each R b1 , R b2 , and R b3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b1 , R b2 , and R b3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e1 , R e2 , and R e3 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 , R g2 , R f3 , and R g3 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h2 , R i2 , R h3 , and R i3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 , R k2 , R j3 , and R k3 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; or any R bonded to the same B atom j3 and R k3 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R B , R C , R D , R E , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6アルキル-、CN、NO2、OR a4 、SR a4 、NHOR a4 、C(O)R b4 、C(O)NR c4 R d4 、C(O)NR c4 (OR a4 )、C(O)OR a4 、OC(O)R b4 、OC(O)NR c4 R d4 、NR c4 R d4 、NR c4 NR c4 R d4 、NR c4 C(O)R b4 、NR c4 C(O)OR a4 、NR c4 C(O)NR c4 R d4 、C(=NR e4 )R b4 、C(=NR e4 )NR c4 R d4 、NR c4 C(=NR e4 )NR c4 R d4 、NR c4 C(=NR e4 )R b4 、NR c4 S(O)R b4 、NR c4 S(O)NR c4 R d4 、NR c4 S(O)2R b4 、NR c4 S(O)(=NR e4 )R b4 、NR c4 S(O)2NR c4 R d4 、S(O)R b4 、S(O)NR c4 R d4 、S(O)2R b4 、S(O)2NR c4 R d4 、OS(O)(=NR e4 )R b4 、OS(O)2R b4, SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R B , R C , R D , R E , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a4 , Rc4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R. c5 S(O)NR c5 R d5 , S(O)R b5 , S(O)NR c5 Rd5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R. c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NRc6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and Rb6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )R b7 , N.R.c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally includes an N-oxide on any ring-forming nitrogen.

[0019] In some embodiments, X is N or CR 3 and; R 1 is H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, and C 1-6 haloalkyl; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 R d2 , N.R. c2 Rd2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; R 3 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a3 , S.R. a3 , NHOR a3 , C(O)R b3 , C(O)NR c3 R d3 , C(O)NR c3 (OR a3 ), C(O)OR a3 ,OC(O)R b3 , OC(O)NR c3 R d3 , N.R. c3 R d3 , N.R. c3 NR c3 R d3 , N.R. c3 C(O)R b3 , N.R. c3 C(O)OR a3 , N.R. c3C(O)NR c3 R d3 , C(=NR e3 )R b3 , C(=NR e3 )NR c3 R d3 , N.R. c3 C(=NR e3 )NR c3 R d3 , N.R. c3 C(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , N.R. c3 S(O)R b3 , N.R. c3 S(O)2R b3 , N.R. c3 S(O)(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , S(O)R b3 , S(O)NR c3 R d3 , S(O)2R b3 , S(O)NR c3 R d3 , OS(O)(=NR e3 )R b3 , OS(O)2R b3 , SF5, P(O)R f3 R g3 , OP(O)(OR h3 )(OR i3 ), P(O)(OR h3 )(OR i3 ), and BR j3 R k3 Selected from R 3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R D optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E optionally substituted with substituents; However, X is N and Cy 1 When is a 4- to 14-membered heterocycloalkyl, then Cy 1 wherein the 4-14 membered heterocycloalkyl is other than unsubstituted morpholinyl; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c3 and R d3together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b2 , and R b3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b2 and R b3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e2 and R e3 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 , R g2 , R f3 , and R g3 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h2 , R i2 , R h3 , and R i3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 , R k2 , R j3 , and R k3 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; or any R bonded to the same B atom j3 and R k3 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R C , R D , R E , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 NR c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )R b4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)NR c4 R d4 , N.R. c4 S(O)2R b4 , N.R. c4 S(O)(=NR e4 )R b4 , N.R. c4 S(O)NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O)2R b4 , S(O)NR c4R d4 , OS(O)(=NR e4 )R b4 , OS(O)2R b4 , SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R C , R D , R E , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6alkyl-, and R b4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R.c5 S(O)NR c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )Rb6 , N.R. c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NRe7 )R b7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0020] In some embodiments, X is CR 3 and; R 1 is H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , C(=NR e1 )R b1 , C(=NR e1 )NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O)2R b1 , and S(O)NR c1 R d1 Selected from R 1 C 1-6Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B optionally substituted with substituents; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 R d2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)Rb2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; R 3 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a3 , S.R. a3 , NHOR a3 , C(O)R b3 , C(O)NR c3 R d3 , C(O)NR c3 (OR a3 ), C(O)OR a3 ,OC(O)R b3 , OC(O)NR c3 R d3 , N.R. c3 R d3 , N.R. c3 NR c3 R d3 , N.R. c3 C(O)R b3 , N.R. c3 C(O)OR a3 , N.R. c3 C(O)NR c3 R d3 , C(=NR e3 )R b3 , C(=NRe3 )NR c3 R d3 , N.R. c3 C(=NR e3 )NR c3 R d3 , N.R. c3 C(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , N.R. c3 S(O)R b3 , N.R. c3 S(O)2R b3 , N.R. c3 S(O)(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , S(O)R b3 , S(O)NR c3 R d3 , S(O)2R b3 , S(O)NR c3 R d3 , OS(O)(=NR e3 )R b3 , OS(O)2R b3 , SF5, P(O)R f3 R g3 , OP(O)(OR h3 )(OR i3 ), P(O)(OR h3 )(OR i3 ), and BR j3 R k3 Selected from R 3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R D optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E optionally substituted with substituents; However, Cy 1 is 1, 2, 3, or 4 independently selected R E Not pyridin-4-yl optionally substituted with a substituent; However, Cy 1 is one, two, or three independently selected R E pyrimidin-4-yl optionally substituted with a substituent; However, Cy 1 is 1, 2, 3, 4, 5, or 6 independently selected R E quinolin-4-yl optionally substituted with substituents; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a1 , R c1 , R d1 , R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 are independently H, C1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a1 , R c1 , R d1 , R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c1 and R d1 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c3 and R d3 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b1 , R b2 , and R b3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b1 , R b2 , and R b3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e1 , R e2 , and R e3 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 , R g2 , R f3 , and R g3 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h2 , R i2 , R h3 , and R i3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 , R k2 , R j3 , and R k3 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; or any R bonded to the same B atom j3 and R k3 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R B , R C , RD , R E , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 NR c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )R b4 , N.R.c4 S(O)R b4 , N.R. c4 S(O)NR c4 R d4 , N.R. c4 S(O)2R b4 , N.R. c4 S(O)(=NR e4 )R b4 , N.R. c4 S(O)NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O)2R b4 , S(O)NR c4 R d4 , OS(O)(=NR e4 )R b4 , OS(O)2R b4 , SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R B , R C , R D , R E , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each Ra4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 Rd5 , N.R. c5 C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R. c5 S(O)NR c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected RI optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NRc6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R. c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R.c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )R b7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0021] In some embodiments, X is CR 3 and; R 1 is H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, and C 1-6 haloalkyl; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 R d2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; R 3 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a3 , S.R. a3 , NHOR a3 , C(O)R b3 , C(O)NR c3 R d3 , C(O)NR c3 (OR a3 ), C(O)OR a3 ,OC(O)R b3 , OC(O)NR c3 R d3 , N.R. c3 R d3 , N.R. c3 NR c3 R d3 , N.R. c3 C(O)R b3 , N.R. c3 C(O)OR a3 , N.R. c3 C(O)NR c3 R d3 , C(=NR e3 )R b3 , C(=NR e3 )NR c3 R d3 , N.R. c3 C(=NR e3 )NR c3 R d3 , N.R. c3 C(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , N.R. c3 S(O)R b3 , N.R. c3 S(O)2R b3 , N.R. c3 S(O)(=NR e3 )R b3 , N.R. c3 S(O)NR c3 R d3 , S(O)R b3 , S(O)NR c3 R d3, S(O)2R b3 , S(O)NR c3 R d3 , OS(O)(=NR e3 )R b3 , OS(O)2R b3 , SF5, P(O)R f3 R g3 , OP(O)(OR h3 )(OR i3 ), P(O)(OR h3 )(OR i3 ), and BR j3 R k3 Selected from R 3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R D optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E or R M optionally substituted with substituents; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c3 and R d3 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b2 and R b3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b2 and R b3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e2 and R e3 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 , R g2 , R f3 , and R g3 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6alkyl- selected from; Each R h2 , R i2 , R h3 , and R i3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 , R k2 , R j3 , and R k3 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; or any R bonded to the same B atom j3 and R k3 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R C , R D , R E , R M , R F , and RG are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 NR c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )R b4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)NRc4 R d4 , N.R. c4 S(O)2R b4 , N.R. c4 S(O)(=NR e4 )R b4 , N.R. c4 S(O)NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O)2R b4 , S(O)NR c4 R d4 , OS(O)(=NR e4 )R b4 , OS(O)2R b4 , SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R C , R D , R E , R M , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5)NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R. c5 S(O)NR c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each Ra5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and Rk5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NRe6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R. c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )R b7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected RK optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0022] In some embodiments, X is N; R 1 is H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a1 , C(O)R b1 , C(O)NRc1 R d1 , C(O)OR a1 , C(=NR e1 )R b1 , C(=NR e1 )NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O)2R b1 , and S(O)NR c1 R d1 Selected from R 1 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B optionally substituted with substituents; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHORa2 、C(O)R b2 、C(O)NR c2 R d2 、C(O)NR c2 (OR a2 )、C(O)OR a2 、OC(O)R b2 、OC(O)NR c2 R d2 、NR c2 R d2 、NR c2 NR c2 R d2 、NR c2 C(O)R b2 、NR c2 C(O)OR a2 、NR c2 C(O)NR c2 R d2 、C(=NR e2 )R b2 、C(=NR e2 )NR c2 R d2 、NR c2 C(=NR e2 )NR c2 R d2 、NR c2 C(=NR e2 )R b2 、NR c2 S(O)NR c2 R d2 、NR c2 S(O)R b2 、NR c2 S(O)2R b2 、NR c2 S(O)(=NR e2 )R b2 、NR c2 S(O)2NR c2 R d2 、S(O)R b2 、S(O)NR c2 R d2 、S(O)2R b2 、S(O)2NR c2 R d2 、OS(O)(=NR e2 )R b2 、OS(O)2R b2 、SF5、P(O)R f2 R g2 、OP(O)(ORh2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E optionally substituted with substituents; However, Cy 1 When is a 4- to 14-membered heterocycloalkyl, then Cy 1 wherein the 4-14 membered heterocycloalkyl is other than unsubstituted morpholinyl; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a1 , R c1 , R d1 , R a2 , R c2 , and R d2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a1 , R c1 , R d1 , R a2 , R c2 , and R d2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atomc1 and R d1 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b1 and R b2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b1 , R b2 , and R b3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e1 and R e2 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 and R g2 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each Rh2 and R i2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 and R k2 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R B , R C , R E , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 NR c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )R b4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)NR c4 R d4 , N.R. c4 S(O)2R b4 , N.R. c4 S(O)(=NR e4 )R b4 , N.R. c4 S(O)NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O)2R b4 , S(O)NR c4 R d4 , OS(O)(=NRe4 )R b4 , OS(O)2R b4 , SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R B , R C , R E , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R. c5 S(O)NR c5 R d5 , S(O)R b5, S(O)NR c5 R d5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and Rb5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R.c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )Rb7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 of 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0023] In some embodiments, X is N; R 1 is H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, and C 1-6 haloalkyl; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 Rd2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E or R M optionally substituted with substituents; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a2 , R c2 , and R d2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a2 , R c2 , and R d2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e2 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 and R g2 are independently H, C 1-6 Alkyl, C 1-6Haloalkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h2 and R i2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 and R k2 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R C , R E , R M , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 NR c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NRe4 )R b4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)NR c4 R d4 , N.R. c4 S(O)2R b4 , N.R. c4 S(O)(=NR e4 )R b4 , N.R. c4 S(O)NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O)2R b4 , S(O)NR c4 R d4 , OS(O)(=NR e4 )R b4 , OS(O)2R b4 , SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R C , R E , R M , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NRc5 R d5 , N.R. c5 C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R. c5 S(O)NR c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R. c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R.c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )R b7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0024] In some embodiments, Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )R b7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7, S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-.

[0025] In some embodiments, Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6)NR c6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R. c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-.

[0026] In some embodiments, each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, CN, C 1-6 Alkoxy, C 1-6 Haloalkoxy, Amino, C 1-6 Alkylamino, Di-C 1-6 Alkylamino, C 1-6 Alkyl sulfonyl, amino sulfonyl, C 1-6 Alkylaminosulfonyl, di-C 1-6 Alkylaminosulfonyl, and C 1-6 alkylsulfonylamino; C1-6 alkyl optionally substituted by 1, 2, 3, 4, 5, 6, 7, or 8 independently selected halogens.

[0027] In some embodiments, each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, phenyl, C 3-7 Cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-6 Alkyl-, C 3-7 Cycloalkyl-C 1-6 Alkyl-, (5-6 membered heteroaryl)-C 1-6 Alkyl- and (4- to 7-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, phenyl, C 3-7 Cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-6 Alkyl-, C 3-7 Cycloalkyl-C 1-6 Alkyl-, (5-6 membered heteroaryl)-C 1-6 Alkyl- and (4- to 7-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, phenyl, C 3-7 Cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-6 Alkyl-, C 3-7 Cycloalkyl-C 1-6 Alkyl-, (5-6 membered heteroaryl)-C1-6 Alkyl- and (4- to 7-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, phenyl, C 3-7 Cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-6 Alkyl-, C 3-7 Cycloalkyl-C 1-6 Alkyl-, (5-6 membered heteroaryl)-C 1-6 Alkyl- and (4- to 7-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, and C 1-6 haloalkoxy; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, phenyl, C 3-7 Cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-6 Alkyl-, C 3-7 Cycloalkyl-C 1-6 Alkyl-, (5-6 membered heteroaryl)-C 1-6 Alkyl- and (4- to 7-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Haloalkyl, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6Alkynyl, phenyl, C 3-7 Cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, phenyl-C 1-6 Alkyl-, C 3-7 Cycloalkyl-C 1-6 Alkyl-, (5-6 membered heteroaryl)-C 1-6 Alkyl- and (4- to 7-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; Each R I D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, CN, C 1-6 Alkoxy, C 1-6 Haloalkoxy, Amino, C 1-6 Alkylamino, Di-C 1-6 Alkylamino, C 1-6 Alkyl sulfonyl, amino sulfonyl, C 1-6 Alkylaminosulfonyl, di-C 1-6 Alkylaminosulfonyl, and C 1-6 It is alkylsulfonylamino.

[0028] In some embodiments, each R I and R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, CN, C 1-6 Alkoxy, C 1-6 Haloalkoxy, Amino, C 1-6 Alkylamino, Di-C 1-6 Alkylamino, C 1-6 Alkyl sulfonyl, amino sulfonyl, C 1-6 Alkylaminosulfonyl, di-C1-6 Alkylaminosulfonyl, and C 1-6 alkylsulfonylamino; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, and C 2-6 alkynyl.

[0029] In some embodiments, X is N; R 1 is H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , C(=NR e1 )R b1 , C(=NR e1 )NR c1 R d1 , S(O)R b1 , S(O)NR c1 R d1 , S(O)2R b1 , and S(O)NR c1 R d1 Selected from R 1 C 1-6 Alkyl, C2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B optionally substituted with substituents; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 R d2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R.c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E optionally substituted with substituents; However, Cy 1 When is a 4- to 14-membered heterocycloalkyl, then Cy 1 wherein the 4-14 membered heterocycloalkyl is other than unsubstituted morpholinyl; However, Cy 1 is 1, 2, 3, or 4 independently selected R E Not pyridin-4-yl optionally substituted with a substituent; However, Cy 1 is one, two, or three independently selected R E pyrimidin-4-yl optionally substituted with a substituent; However, Cy 1 is 1, 2, 3, 4, 5, or 6 independently selected R E quinolin-4-yl optionally substituted with substituents; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a1 , R c1 , R d1 , R a2 , R c2 , and R d2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a1 , R c1 , R d1 , R a2 , R c2 , and R d2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atomc1 and R d1 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b1 and R b2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b1 , R b2 , and R b3 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e1 and R e2 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 and R g2 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each Rh2 and R i2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 and R k2 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R B , R C , R E , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 NR c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )R b4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)NR c4 R d4 , N.R. c4 S(O)2R b4 , N.R. c4 S(O)(=NR e4 )R b4 , N.R. c4 S(O)NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O)2R b4 , S(O)NR c4 R d4 , OS(O)(=NRe4 )R b4 , OS(O)2R b4 , SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R B , R C , R E , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R. c5 S(O)NR c5 R d5 , S(O)R b5, S(O)NR c5 R d5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and Rb5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R.c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )Rb7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0030] In some embodiments, X is N; R 1 is H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, and C 1-6 haloalkyl; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 Rd2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E or R M optionally substituted with substituents; However, Cy 1 When is a 4- to 14-membered heterocycloalkyl, then Cy 1 wherein the 4-14 membered heterocycloalkyl is other than unsubstituted morpholinyl; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a2 , R c2 , and R d2 are independently H, C 1-6 Alkyl, C1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a2 , R c2 , and R d2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e2 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6alkyl- selected from; Each R f2 and R g2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h2 and R i2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 and R k2 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R C , R E , R M , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 NR c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4)NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )R b4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)NR c4 R d4 , N.R. c4 S(O)2R b4 , N.R. c4 S(O)(=NR e4 )R b4 , N.R. c4 S(O)NR c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O)2R b4 , S(O)NR c4 R d4 , OS(O)(=NR e4 )R b4 , OS(O)2R b4 , SF5, P(O)R f4 R g4 , OP(O)(OR h4 )(OR i4 ), P(O)(OR h4 )(OR i4 ), and BR j4 R k4 Selected from R C , R E , R M , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a5 , S.R. a5 , NHOR a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 ,OC(O)R b5 , OC(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 NR c5 R d5 , N.R. c5C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 )R b5 , C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )NR c5 R d5 , N.R. c5 C(=NR e5 )R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S(O)2R b5 , N.R. c5 S(O)(=NR e5 )R b5 , N.R. c5 S(O)NR c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O)2R b5 , S(O)NR c5 R d5 , OS(O)(=NR e5 )R b5 , OS(O)2R b5 , SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atomc5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a6 , S.R. a6 , NHOR a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 ,OC(O)R b6 , OC(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 NR c6 R d6 , N.R.c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 )R b6 , C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )NR c6 R d6 , N.R. c6 C(=NR e6 )R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S(O)2R b6 , N.R. c6 S(O)(=NR e6 )R b6 , N.R. c6 S(O)NR c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O)2R b6 , S(O)NR c6 R d6 , OS(O)(=NR e6 )R b6 , OS(O)2R b6 , SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NRc7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )R b7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NR e7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected RK optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and Rk7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0031] In some embodiments, X is N; R 1 is H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, and C 1-6 haloalkyl; R 2 H, D, Halo, C 1-6 Alkyl, C 1-6Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 R d2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2, N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2 R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from R 2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, or 5- to 14-membered heteroaryl, C 6-14 Aryl, C 3-14 A cycloalkyl or a 5- to 14-membered heteroaryl is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E or R Moptionally substituted with substituents; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 3-14 A cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F optionally substituted with substituents; Each R a2 , R c2 , and R d2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a2 , R c2 , and R d2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R G optionally substituted with substituents; Each R b2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b2 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G optionally substituted with substituents; Each R e2 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f2 and R g2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h2 and R i2 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j2 and R k2 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R C , R E , R M , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 Rd4 、C(O)NR c4 (OR a4 )、C(O)OR a4 、OC(O)R b4 、OC(O)NR c4 R d4 、NR c4 R d4 、NR c4 NR c4 R d4 、NR c4 C(O)R b4 、NR c4 C(O)OR a4 、NR c4 C(O)NR c4 R d4 、C(=NR e4 )R b4 、C(=NR e4 )NR c4 R d4 、NR c4 C(=NR e4 )NR c4 R d4 、NR c4 C(=NR e4 )R b4 、NR c4 S(O)R b4 、NR c4 S(O)NR c4 R d4 、NR c4 S(O)2R b4 、NR c4 S(O)(=NR e4 )R b4 、NR c4 S(O)2NR c4 R d4 、S(O)R b4 、S(O)NR c4 R d4 、S(O)2R b4 、S(O)2NR c4 R d4 、OS(O)(=NR e4 )R b4 、OS(O)2R b4 、SF5、P(O)R f4 R g4 、OP(O)(OR h4 )(OR i4 )、P(O)(OR h4 )(ORi4 ), and BR j4 R k4 Selected from R C , R E , R M , R F , and R G C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a4 , R c4 , and R d4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; or any R bonded to the same N atom c4 and R d4 optionally, together with the N atom to which they are attached, form a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or the 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R H optionally substituted with substituents; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b4 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H optionally substituted with substituents; Each R e4 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j4 and R k4 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6アルキル-、CN、NO2、OR a5 、SR a5 、NHOR a5 、C(O)R b5 、C(O)NR c5 R d5 、C(O)NR c5 (OR a5 )、C(O)OR a5 、OC(O)R b5 、OC(O)NR c5 R d5 、NR c5 R d5 、NR c5 NR c5 R d5 、NR c5 C(O)R b5 、NR c5 C(O)OR a5 、NR c5 C(O)NR c5 R d5 、C(=NR e5 )R b5 、C(=NR e5 )NR c5 R d5 、NR c5 C(=NR e5 )NR c5 R d5 、NR c5 C(=NR e5 )R b5 、NR c5 S(O)R b5 、NR c5 S(O)NR c5 R d5 、NR c5 S(O)2R b5 、NR c5 S(O)(=NR e5 )R b5 、NR c5 S(O)2NR c5 R d5 、S(O)R b5 、S(O)NR c5 R d5 、S(O)2R b5 、S(O)2NR c5 R d5 、OS(O)(=NR e5 )R b5 、OS(O)2R b5, SF5, P(O)R f5 R g5 , OP(O)(OR h5 )(OR i5 ), P(O)(OR h5 )(OR i5 ), and BR j5 R k5 Selected from R H C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a5 , R c5 , and R d5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R b5 are independently H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b5 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I optionally substituted with substituents; Each R e5 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j5 and R k5 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6アルキル-、CN、NO2、OR a6 、SR a6 、NHOR a6 、C(O)R b6 、C(O)NR c6 R d6 、C(O)NR c6 (OR a6 )、C(O)OR a6 、OC(O)R b6 、OC(O)NR c6 R d6 、NR c6 R d6 、NR c6 NR c6 R d6 、NR c6 C(O)R b6 、NR c6 C(O)OR a6 、NR c6 C(O)NR c5 R d6 、C(=NR e6 )R b6 、C(=NR e6 )NR c6 R d6 、NR c6 C(=NR e6 )NR c6 R d6 、NR c6 C(=NR e6 )R b6 、NR c6 S(O)R b6 、NR c6 S(O)NR c6 R d6 、NR c6 S(O)2R b6 、NR c6 S(O)(=NR e6 )R b6 、NR c6 S(O)2NR c6 R d6 、S(O)R b6 、S(O)NR c6 R d6 、S(O)2R b6 、S(O)2NR c6 R d6 、OS(O)(=NR e6 )R b6 、OS(O)2R b6, SF5, P(O)R f6 R g6 , OP(O)(OR h6 )(OR i6 ), P(O)(OR h6 )(OR i6 ), and BR j6 R k6 Selected from R I C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a6 , R c6 , and R d6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b6 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J optionally substituted with substituents; Each R e6 are independently H, OH, CN, and C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6alkyl- selected from; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j6 and R k6 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a7 , S.R. a7 , NHOR a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 ,OC(O)R b7 , OC(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 NR c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 )R b7 , C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )NR c7 R d7 , N.R. c7 C(=NR e7 )R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S(O)2R b7 , N.R. c7 S(O)(=NR e7 )R b7 , N.R. c7 S(O)NR c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O)2R b7 , S(O)NR c7 R d7 , OS(O)(=NRe7 )R b7 , OS(O)2R b7 , SF5, P(O)R f7 R g7 , OP(O)(OR h7 )(OR i7 ), P(O)(OR h7 )(OR i7 ), and BR j7 R k7 Selected from R J C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R a7 , R c7 , and R d7 C 1-6Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, and the 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, and R b7 C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K optionally substituted with substituents; Each R e7 are independently H, OH, CN, and C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Each R j7 and R k7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j7 and R k7 together with the B atoms to which they are bonded, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH2, NO2, SF5, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl- selected from; Any heteroaryl group in any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

[0032] In some embodiments, the compound of formula (I) is a compound of formula (II): [ka] or a pharmaceutically acceptable salt thereof.

[0033] In some embodiments, the compound of formula (I) is a compound of formula (III): [ka] or a pharmaceutically acceptable salt thereof.

[0034] In some embodiments, Cy 1 is C 6-14 aryl, C 6-14 Aryl is one, two, three, or four independently selected R E It is optionally substituted with a substituent.

[0035] In some embodiments, Cy 1 is C 3-14 is cycloalkyl, C 3-14 Cycloalkyl is one, two, three, or four independently selected R E It is optionally substituted with a substituent.

[0036] In some embodiments, Cy 1 is a 5- to 14-membered heteroaryl, wherein the 5- to 14-membered heteroaryl is selected from 1, 2, 3, or 4 independently selected R E It is optionally substituted with a substituent.

[0037] In some embodiments, Cy 1 is a 4- to 14-membered heterocycloalkyl, wherein the 4- to 14-membered heterocycloalkyl is selected from 1, 2, 3, or 4 independently selected R EIt is optionally substituted with a substituent.

[0038] In some embodiments, Cy 1 is C 6-10 aryl, C 6-10 Aryl is one, two, three, or four independently selected R E It is optionally substituted with a substituent.

[0039] In some embodiments, Cy 1 is C 3-7 is cycloalkyl, C 3-7 Cycloalkyl is one, two, three, or four independently selected R E It is optionally substituted with a substituent.

[0040] In some embodiments, Cy 1 is a 5- to 10-membered heteroaryl, and the 5- to 10-membered heteroaryl is selected from 1, 2, 3, or 4 independently selected R E It is optionally substituted with a substituent.

[0041] In some embodiments, Cy 1 is a 4- to 10-membered heterocycloalkyl, wherein the 4- to 10-membered heterocycloalkyl is selected from 1, 2, 3, or 4 independently selected R E It is optionally substituted with a substituent.

[0042] In some embodiments, Cy 1 is phenyl or 5-10 membered heteroaryl, and the phenyl or 5-10 membered heteroaryl is selected from 1, 2, 3, or 4 independently selected R E It is optionally substituted with a substituent.

[0043] In some embodiments, Cy 1 is 1, 2, 3, or 4 independently selected R M phenyl optionally substituted with substituents, or C 7-14 aryl or 5- to 14-membered heteroaryl, C 7-14Aryl and 5- to 14-membered heteroaryl are each selected from 1, 2, 3, or 4 independently selected R E optionally substituted with substituents, Each R M are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 1-6 Alkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, 2-CN, 3-CN, NO2, OR a4 , S.R. a4 , NHOR a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 ,OC(O)R b4 , OC(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 )R b4 , C(=NR e4 )NR c4 R d4 , N.R. c4 C(=NR e4 )NR c4 R d4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)2R b4 , and NR c4 S(O)NR c4 R d4 Selected from R M C 1-6 Alkyl, C 1-6 Alkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H It is optionally substituted with a substituent.

[0044] In some embodiments, Cy 1 is selected from phenyl, pyridinyl, furanyl, benzofuranyl, and pyrazolyl, each of which is C 1-3 Alkyl, halo, CN, and C 1-3 Optionally substituted with 1, 2, or 3 substituents selected from alkoxy.

[0045] In some embodiments, optionally substituted Cy 1 is selected from cyanophenyl, cyanofluorophenyl, 2,3-dihydro-1H-pyrrolo[2,3,-b]pyridine, phenyl, methoxyphenyl, fluorophenyl, pyridinyl, methylfuranyl, benzofuranyl, and methyl-1H-pyrazolyl.

[0046] In some embodiments, optionally substituted Cy 1 is selected from cyanophenyl, 2,3-dihydro-1H-pyrrolo[2,3,-b]pyridine, phenyl, methoxyphenyl, fluorophenyl, pyridinyl, methylfuranyl, benzofuranyl, and methyl-1H-pyrazolyl.

[0047] In some embodiments, Cy 1 is selected from 2-cyanophenyl, 3-cyanophenyl, 3-cyano-2-fluorophenyl, 2,3-dihydro-1H-pyrrolo[2,3,-b]pyridine, phenyl, 3-methoxyphenyl, 2-fluorophenyl, pyridin-4-yl, 2-methylfuran-3-yl, benzofuran-2-yl, and 1-methyl-1H-pyrazol-4-yl.

[0048] In some embodiments, optionally substituted Cy 1is selected from 2-cyanophenyl, 3-cyanophenyl, 2,3-dihydro-1H-pyrrolo[2,3,-b]pyridine, phenyl, 3-methoxyphenyl, 2-fluorophenyl, pyridin-4-yl, 2-methylfuran-3-yl, benzofuran-2-yl, and 1-methyl-1H-pyrazol-4-yl.

[0049] In some embodiments, optionally substituted Cy 1 is selected from 3-cyanophenyl and phenyl.

[0050] In some embodiments, Cy 1 is 3-cyanophenyl.

[0051] In some embodiments, Cy 2 is C 6-14 Aryl, C 4-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; C 6-14 Aryl, C 4-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl are each selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F It is optionally substituted with a substituent.

[0052] In some embodiments, Cy 2 is C 6-14 aryl, C 6-14 Aryl is one, two, three, or four independently selected R F It is optionally substituted with a substituent.

[0053] In some embodiments, Cy 2 is C 3-14 is cycloalkyl, C 3-14 Cycloalkyl is one, two, three, or four independently selected R F It is optionally substituted with a substituent.

[0054] In some embodiments, Cy 2is a 5- to 14-membered heteroaryl, wherein the 5- to 14-membered heteroaryl is selected from 1, 2, 3, or 4 independently selected R F It is optionally substituted with a substituent.

[0055] In some embodiments, Cy 2 is a 4- to 14-membered heterocycloalkyl, wherein the 4- to 14-membered heterocycloalkyl is selected from 1, 2, 3, or 4 independently selected R F It is optionally substituted with a substituent.

[0056] In some embodiments, Cy 2 is C 6-10 aryl, C 6-10 Aryl is one, two, three, or four independently selected R F It is optionally substituted with a substituent.

[0057] In some embodiments, Cy 2 is C 3-7 is cycloalkyl, C 3-7 Cycloalkyl is one, two, three, or four independently selected R F It is optionally substituted with a substituent.

[0058] In some embodiments, Cy 2 is a 5- to 10-membered heteroaryl, and the 5- to 10-membered heteroaryl is selected from 1, 2, 3, or 4 independently selected R F It is optionally substituted with a substituent.

[0059] In some embodiments, Cy 2 is a 4- to 10-membered heterocycloalkyl, wherein the 4- to 10-membered heterocycloalkyl is selected from 1, 2, 3, or 4 independently selected R F It is optionally substituted with a substituent.

[0060] In some embodiments, Cy 2 is C 3-6 selected from cycloalkyl, phenyl, 5- to 10-membered heteroaryl, and 5- to 10-membered heterocycloalkyl; The 5- to 10-membered heteroaryl and the 5- to 10-membered heterocycloalkyl each contain 1, 2, or 3 nitrogen atoms as ring-forming heteroatoms, one of the 1 or 2 nitrogen atoms is optionally an N-oxide, and the ring-forming carbon atoms are optionally substituted by oxo; C 3-6 Cycloalkyl, phenyl, 5- to 10-membered heteroaryl, and 5- to 10-membered heterocycloalkyl are each C 1-3 Alkyl, C 1-3 Alkyl-OH, Halo, CN, C 1-3 Optionally substituted with 1, 2, or 3 substituents selected from alkoxy, and C(O)NH2.

[0061] In some embodiments, Cy 2 is C 3-6 selected from cycloalkyl, phenyl, 5- to 10-membered heteroaryl, and 5- to 10-membered heterocycloalkyl; The 5- to 10-membered heteroaryl and the 5- to 10-membered heterocycloalkyl each contain one or two nitrogen atoms as ring-forming heteroatoms, one of which is optionally an N-oxide, and a ring-forming carbon atom is optionally substituted by oxo; C 3-6 Cycloalkyl, C-aryl, 5- to 10-membered heteroaryl, and 5- to 10-membered heterocycloalkyl are each C 1-3 Alkyl, halo, CN, C 1-3 Optionally substituted with 1, 2, or 3 substituents selected from alkoxy, and C(O)NH2.

[0062] In some embodiments, Cy 2 is selected from pyridinyl, tetrahydropyridinyl, piperidinyl, pyridine-N-oxide, oxo-dihydropyridinyl, phenyl, pyrazolo[1,5-a]pyridin-3-yl, pyrazolo[1,5-b]pyridazinyl, pyrazolyl, pyrimidinyl, quinolinyl, oxazolyl, 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, and triazolyl, each of which is selected from C1-3 Alkyl, C 1-3 Alkyl-OH, Halo, CN, C 1-3 Optionally substituted with 1, 2, or 3 substituents selected from alkoxy, and C(O)NH2.

[0063] In some embodiments, Cy 2 is selected from pyridinyl, tetrahydropyridinyl, piperidinyl, pyridine-N-oxide, oxo-dihydropyridinyl, phenyl, pyrazolo[1,5-a]pyridin-3-yl, pyrazolo[1,5-b]pyridazinyl, pyrazolyl, pyrimidinyl, quinolinyl, oxazolyl, and 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, each of which is selected from C 1-3 Alkyl, halo, CN, C 1-3 Optionally substituted with 1, 2, or 3 substituents selected from alkoxy, and C(O)NH2.

[0064] In some embodiments, Cy 2 is selected from pyridinyl, tetrahydropyridinyl, piperidinyl, pyridine-N-oxide, oxo-dihydropyridinyl, phenyl, pyrazolo[1,5-a]pyridin-3-yl, pyrazolyl, pyrimidinyl, and 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, each of which is selected from C 1-3 Alkyl, halo, CN, C 1-3 Optionally substituted with 1, 2, or 3 substituents selected from alkoxy, and C(O)NH2.

[0065] In some embodiments, Cy 2 is C 1-3 Alkyl, halo, CN, C 1-3 cyclopropyl optionally substituted with 1, 2, or 3 substituents selected from alkoxy, and C(O)NH2.

[0066] In some embodiments, optionally substituted Cy 2are 2,6-dimethylpyridin-4-yl, pyridin-4-yl, 2-methylpyridin-4-yl, 1-carbamoyl-1,2,3,6-tetrahydropyridin-4-yl, 1-carbamoylpiperidin-4-yl, 2-methoxypyridin-4-yl, 2-methoxy-6-methylpyridin-4-yl, 2,6-dimethylpyridin-4-yl-1-oxide, 1-ethyl-6-oxo-1,6-dihydropyridin-3-yl, 3-methylpyridin-4-yl, 3-fluoropyridin-4-yl, 3-chloropyridin-4-yl, 3-methoxypyridin-4-yl, 3-cyanopyridin-4-yl, 4-carbamoylphenyl, pyrazolo[1,5-a]pyridin-3-yl, pyrazolo[1,5-b]pyridazin-3-yl, 5-methyl-1 and cyclopropyl-1H-pyrazol-4-yl, 1-ethyl-1H-pyrazol-5-yl, 1-isopropyl-1H-pyrazol-5-yl, 1-propyl-1H-pyrazol-5-yl, pyrimidin-4-yl, 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, quinolin-5-yl, 5-fluoropyrimidin-4-yl, oxazol-5-yl, 4-methyloxazol-5-yl, 4-ethyloxazol-5-yl, 4-(hydroxymethyl)-2-methyloxazol-5-yl, 4-(methoxymethyl)-2-methyloxazol-5-yl, 4-(hydroxymethyl)-2-methyloxazol-5-yl, 1-ethyl-1H-1,2,3-triazol-5-yl, and cyclopropyl.

[0067] In some embodiments, optionally substituted Cy 2are 2,6-dimethylpyridin-4-yl, pyridin-4-yl, 2-methylpyridin-4-yl, 1-carbamoyl-1,2,3,6-tetrahydropyridin-4-yl, 1-carbamoylpiperidin-4-yl, 2-methoxypyridin-4-yl, 2-methoxy-6-methylpyridin-4-yl, 2,6-dimethylpyridin-4-yl-1-oxide, 1-ethyl-6-oxo-1,6-dihydropyridin-3-yl, 3-methylpyridin-4-yl, 3-fluoropyridin-4-yl, 3-chloropyridin-4-yl, 3-methoxypyridin-4-yl, 3-cyanopyridin-4-yl, 4-carbamoylphenyl, pyrazolo[1, 5-a]pyridin-3-yl, pyrazolo[1,5-b]pyridazin-3-yl, 5-methyl-1H-pyrazol-4-yl, 1-ethyl-1H-pyrazol-5-yl, 1-isopropyl-1H-pyrazol-5-yl, 1-propyl-1H-pyrazol-5-yl, pyrimidin-4-yl, 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, quinolin-5-yl, 5-fluoropyrimidin-4-yl, 4-methyloxazol-5-yl, 4-(hydroxymethyl)-2-methyloxazol-5-yl, 4-(methoxymethyl)-2-methyloxazol-5-yl, and cyclopropyl.

[0068] In some embodiments, optionally substituted Cy 2are 2,6-dimethylpyridin-4-yl, pyridin-4-yl, 2-methylpyridin-4-yl, 1-carbamoyl-1,2,3,6-tetrahydropyridin-4-yl, 1-carbamoylpiperidin-4-yl, 2-methoxypyridin-4-yl, 2,6-dimethylpyridin-4-yl-1-oxide, 1-ethyl-6-oxo-1,6-dihydropyridin-3-yl, 3-methylpyridin-4-yl, 3-fluoropyridin-4-yl, and 3-chloropyridin-4-yl. , 3-methoxypyridin-4-yl, 3-cyanopyridin-4-yl, 4-carbamoylphenyl, pyrazolo[1,5-a]pyridin-3-yl, 5-methyl-1H-pyrazol-4-yl, 1-ethyl-1H-pyrazol-5-yl, 1-isopropyl-1H-pyrazol-5-yl, 1-propyl-1H-pyrazol-5-yl, pyrimidin-4-yl, 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, and cyclopropyl.

[0069] In some embodiments, R 1 H, D, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , C(=NR e1 )R b1 , C(=NR e1 )NR c1 R d1 , S(O)R b1 , S(O)NRc1 R d1 , S(O)2R b1 and S(O)NR c1 R d1 Selected from R 1 C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B It is optionally substituted with a substituent.

[0070] In some embodiments, R 1 H, D, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5-8 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-8 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a1 , C(O)R b1 , C(O)NR c1 R d1 , C(O)OR a1 , C(=NR e1 )R b1 , C(=NR e1 )NR c1 R d1 , S(O)R b1, S(O)NR c1 R d1 , S(O)2R b1 and S(O)2NR c1 R d1 Selected from R 1 C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5-8 membered heteroaryl, 4-14 membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-8 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R B It is optionally substituted with a substituent.

[0071] In some embodiments, R 1 is H, C 1-6 alkyl, and 5- to 8-membered heteroaryl, wherein the 5- to 8-membered heteroaryl is selected from one or two independently selected R B It is optionally substituted by a substituent.

[0072] In some embodiments, R 1 is H, C 1-6 alkyl, or 5- to 8-membered heteroaryl.

[0073] In some embodiments, R 1 is H or C 1-6 It is alkyl.

[0074] In some embodiments, R 1 is H or C 1-3 It is alkyl.

[0075] In some embodiments, R 1 is H, ethyl, or nicotinonitrile.

[0076] In some embodiments, R 1 is H or ethyl.

[0077] In some embodiments, R 1 is H.

[0078] In some embodiments, R 1 is one or two independently selected R B It is a 5- to 8-membered heteroaryl optionally substituted by a substituent.

[0079] In some embodiments, R 1 is a 5- to 8-membered heteroaryl.

[0080] In some embodiments, R 1 is one or two R B It is pyridyl optionally substituted by a substituent.

[0081] In some embodiments, R 1 is pyridyl optionally substituted with cyano.

[0082] In some embodiments, R 1 is nicotinonitrile.

[0083] In some embodiments, R 1 is 3-cyanopyridyl.

[0084] In some embodiments, R 2 Ha, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO2, OR a2 , S.R. a2 , NHOR a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 ,OC(O)R b2 , OC(O)NR c2 R d2 , N.R. c2 R d2 , N.R. c2 NR c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 )R b2 , C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )NR c2 R d2 , N.R. c2 C(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S(O)2R b2 , N.R. c2 S(O)(=NR e2 )R b2 , N.R. c2 S(O)NR c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O)2R b2 , S(O)NR c2R d2 , OS(O)(=NR e2 )R b2 , OS(O)2R b2 , SF5, P(O)R f2 R g2 , OP(O)(OR h2 )(OR i2 ), P(O)(OR h2 )(OR i2 ), and BR j2 R k2 Selected from C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C optionally substituted with substituents; C 1-6 Alkyl is 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C It is substituted with a substituent.

[0085] In some embodiments, R 2 is C 1-6 Alkyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, C(O)R b2 , C(O)NRc2 R d2 , C(O)OR a2 , and NR c2 R d2 Selected from C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, or 5 independently selected R C optionally substituted with substituents; C 1-6 Alkyl is one, two, three, four, or five independently selected R C It is substituted with a substituent.

[0086] In some embodiments, R 2 is C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, C(O)R b2 , C(O)NR c2 R d2 , C(O)OR a2 , and NR c2 R d2 Selected from C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, or 5 independently selected R C It is optionally substituted with a substituent.

[0087] In some embodiments, R 2 is C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, or 5 independently selected R C It is optionally substituted with a substituent.

[0088] In some embodiments, R 2 is H, C 1-6 Alkyl, C 3-14 Cycloalkyl, C 6-14 Aryl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, NR c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 Selected from C 1-6 Alkyl, C 3-14 Cycloalkyl, C 6-14 Aryl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R C It is optionally substituted with a substituent.

[0089] In some embodiments, R 2 is H, C 1-6 Alkyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a2 , N.R. c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 Selected from C 1-6 Alkyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R C It is optionally substituted with a substituent.

[0090] In some embodiments, R 2 is H, C 1-6 Alkyl, C 6-14 Aryl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, NR c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 Selected from C 1-6 Alkyl, C 6-14 Aryl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R C It is optionally substituted with a substituent.

[0091] In some embodiments, R 2 is H, C 1-6 Alkyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a2 , N.R. c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 Selected from C 1-6 Alkyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R C It is substituted with a substituent.

[0092] In some embodiments, R 2 is H, C 1-6 Alkyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, NR c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 Selected from C 1-6 Alkyl, C 6-14 Aryl, C 3-14Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5-14 membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R C It is substituted with a substituent.

[0093] In some embodiments, R 2 is H, C 6-14 Aryl, 5-14 membered heteroaryl, C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 Selected from C 6-14 The aryl and 5- to 14-membered heteroaryl each have one, two, or three independently selected R C It is optionally substituted with a substituent.

[0094] In some embodiments, R 2 is H, C 1-6 Alkyl, phenyl, 5-6 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 Aryl-C 1-6 Alkyl-, (5-10 membered heteroaryl)-C 1-6 Alkyl-, (4-10 membered heterocycloalkyl)-C 1-6 Alkyl-, NR c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 Selected from C 1-6 Alkyl, phenyl, 5-6 membered heteroaryl, 4-10 membered heterocycloalkyl, C 6-10 Aryl-C 1-6 Alkyl-, (5-10 membered heteroaryl)-C 1-6Alkyl- and (4- to 10-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from one or two independently selected R C In some embodiments, R 2 is H, phenyl, 5-6 membered heteroaryl, C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 wherein phenyl and 5- to 6-membered heteroaryl are each selected from one or two independently selected R C It is optionally substituted with a substituent.

[0095] In some embodiments, R 2 is selected from H, C(O)OEt, CONH2, and C(O)NHEt.

[0096] In some embodiments, R 2 is selected from phenyl and 5-6 membered heteroaryl, each of which is optionally substituted with C(O)OMe.

[0097] In some embodiments, optionally substituted R 2are pyridinylmethyl, hydroxy(phenyl)methyl, hydroxyethylamino(phenyl)ethyl, cyclohexylmethyl, fluorobenzyl, hydroxy(fluorophenyl)methyl, (methylpyridinyl)methyl, (fluoropyridinyl)methyl, (trifluoromethylpyridinyl)methyl, ((hydroxymethyl)pyridinyl)methyl, (methoxypyridinyl)methyl, (methylpyrazolyl)benzyl, (methylpyrazolyl)methyl, benzisoxazolylmethyl, (methylindazolyl)methyl, (hydroxyazetidinyl)methyl, benzoyl, phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuranyl, phenyl(pyridinyloxy)methyl, furanyl and (cyanophenoxy)methyl.

[0098] In some embodiments, optionally substituted R 2is selected from pyridinylmethyl, hydroxy(phenyl)methyl, hydroxyethylamino(phenyl)ethyl, cyclohexylmethyl, fluorobenzyl, hydroxy(fluorophenyl)methyl, (methylpyridinyl)methyl, (fluoropyridinyl)methyl, (methoxypyridinyl)methyl, (methylpyrazolyl)benzyl, benzisoxazolylmethyl, (methylindazolyl)methyl, (hydroxyazetidinyl)methyl, benzoyl, phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuranyl, phenyl(pyridinyloxy)methyl, fluoro((fluorohydroxypyrrolidinyl)methyl)benzyl, ((carboxypiperidinyl)methyl)fluorobenzyl, fluoro((N-methylmethylsulfonamido)methyl)benzyl, ((dioxoimidazolidinyl)methyl)fluorobenzyl, and (difluorophenyl)(hydroxy)methyl.

[0099] In some embodiments, R 2 is selected from pyridinylmethyl, hydroxy(phenyl)methyl, hydroxyethylamino(phenyl)ethyl, cyclohexylmethyl, fluorobenzyl, hydroxy(fluorophenyl)methyl, (methylpyridinyl)methyl, (fluoropyridinyl)methyl, (methoxypyridinyl)methyl, (methylpyrazolyl)benzyl, benzisoxazolylmethyl, (methylindazolyl)methyl, (hydroxyazetidinyl)methyl, benzoyl, phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuranyl, and phenyl(pyridinyloxy)methyl.

[0100] In some embodiments, R 2 teeth, [ka] is.

[0101] In some embodiments, R 2are pyridin-2-ylmethyl, hydroxy(phenyl)methyl, (2-hydroxyethylamino)(phenyl)methyl, cyclohexylmethyl, 2-fluorobenzyl, (2-fluorophenyl)(hydroxy)methyl, (6-methylpyridin-2-yl)methyl, (3-fluoropyridin-2-yl)methyl, (3-methoxypyridin-2-yl)methyl, 2-(1-methyl-1H-pyrazol-4-yl)benzyl, benzo[d]isoxazol-3-ylmethyl, (1-methyl-1H-indazol-3-yl)methyl, ( 3-hydroxyazetidin-1-yl)methyl, benzoyl, 1-phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuran-3-yl, phenyl(pyridin-2-yloxy)methyl, 2-fluoro-6-(((3R,4R)-3-fluoro-4-hydroxypyrrolidin-1-yl)methyl)benzyl, 2-((4-carboxypiperidin-1-yl)methyl)-6-fluorobenzyl, 2-fluoro-6-((N-methylmethylsulfonamido)methyl)benzyl, 2-((2,5-dioxoimidazo (5-(thiazol-4-yl)-1H-tetrazol-1-yl)methyl, (5-methyl-3-(trifluoromethyl)-1H-pyrazol-1-yl)methyl, (3-methylpyridin-2-yl)methyl, 2-((1,1-dioxideisothiazolidine-2 2-fluoro-6-((3-methyl-2,5-dioxoimidazolidin-1-yl)methyl)benzyl, (6-(trifluoromethyl)pyridin-2-yl)methyl, (3-(hydroxymethyl)pyridin-2-yl)methyl, (1-methyl-1H-pyrazol-3-yl)methyl, and (2-cyanophenoxy)methyl, (3-methylpyridin-2-yl)methoxy, (6-methylpyridin-2-yl)methoxy, and ((3-methylpyridin-2-yl)methyl)amino.

[0102] In some embodiments, R 2 are pyridin-2-ylmethyl, hydroxy(phenyl)methyl, (2-hydroxyethylamino)(phenyl)methyl, cyclohexylmethyl, 2-fluorobenzyl, (2-fluorophenyl)(hydroxy)methyl, (6-methylpyridin-2-yl)methyl, (3-fluoropyridin-2-yl)methyl, (3-methoxypyridin-2-yl)methyl, 2-(1-methyl-1H-pyrazol-4-yl)benzyl, benzo[d]isoxazol-3-ylmethyl, (1-methyl-1H-indazol-3-yl)methyl, (3-hydroxyazetidin-1-yl)methyl, benzoyl, 1- phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuran-3-yl, phenyl(pyridin-2-yloxy)methyl, 2-fluoro-6-(((3R,4R)-3-fluoro-4-hydroxypyrrolidin-1-yl)methyl)benzyl, 2-((4-carboxypiperidin-1-yl)methyl)-6-fluorobenzyl, 2-fluoro-6-((N-methylmethylsulfonamido)methyl)benzyl, 2-((2,5-dioxoimidazolidin-1-yl)methyl)-6-fluorobenzyl, and (2,6-difluorophenyl)(hydroxy)methyl.

[0103] In some embodiments, R 2 is selected from pyridin-2-ylmethyl, hydroxy(phenyl)methyl, 2-hydroxyethylamino)(phenyl)methyl, cyclohexylmethyl, 2-fluorobenzyl, 2-fluorophenyl)(hydroxy)methyl, 6-methylpyridin-2-yl)methyl, 3-fluoropyridin-2-yl)methyl, 3-methoxypyridin-2-yl)methyl, 2-(1-methyl-1H-pyrazol-4-yl)benzyl, benzo[d]isoxazol-3-ylmethyl, 1-methyl-1H-indazol-3-yl)methyl, 3-hydroxyazetidin-1-yl)methyl, benzoyl, 1-phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuran-3-yl, and phenyl(pyridin-2-yloxy)methyl.

[0104] In some embodiments, R a2 is H and C 1-6 alkyl, C 1-6 Alkyl is one, two, or three independently selected R H It is optionally substituted with a substituent.

[0105] In some embodiments, R b2 is H, C 1-6 Alkyl, C 6-14 aryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 6-14 Aryl and 4- to 14-membered heterocycloalkyl each have one, two, or three independently selected R G It is optionally substituted with a substituent.

[0106] In some embodiments, R c2 and R d2 are independently H, C 1-6 Alkyl, 5-14 membered heteroaryl, and C 6-14 Aryl-C 1-6 alkyl-, C 1-6 Alkyl, 5-14 membered heteroaryl, and C 6-14 Aryl-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R G It is optionally substituted with a substituent.

[0107] In some embodiments, each R G are independently, CN, OR a4 , and C 1-6 alkyl, C 1-6 Alkyl is one, two, or three independently selected R H It is optionally substituted with a substituent.

[0108] In some embodiments, each R C independently, halo, C 1-6 Alkyl, C 6-14Aryl, 5- to 14-membered heteroaryl, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a4 , C(O)OR a4 , and NR c4 R d4 Selected from C 1-6 Alkyl, 5- to 14-membered heteroaryl, and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl- is one, two, or three independently selected R H It is optionally substituted with a substituent.

[0109] In some embodiments, each R C independently, halo, C 1-6 Alkyl, C 6-14 Aryl, 5- to 14-membered heteroaryl, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a4 , C(O)OR a4 , and NR c4 R d4 Selected from C 1-6 Alkyl, 5- to 14-membered heteroaryl, and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl- is one, two, or three independently selected R H It is substituted with a substituent.

[0110] In some embodiments, R a4 is H, C 1-6 Alkyl, C 6-14 aryl, and 5- to 14-membered heteroa...

Claims

1. Compounds of formula (I): 【Chemistry 1】 or a pharma- ceutically acceptable salt thereof, X is CR 3 and R 1 is H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, and C 1-6 haloalkyl; R 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a2 , S.R. a2 , N.H.O.R. a2 , C(O)R b2 , C(O)NR c2 R d2 , C(O)NR c2 (OR a2 ), C(O)OR a2 , O.C.(O)R b2 , O.C.(O)NR c2 R d2 , N.R. c2 R d2 , N.R. c2 N.R. c2 R d2 , N.R. c2 C(O)R b2 , N.R. c2 C(O)OR a2 , N.R. c2 C(O)NR c2 R d2 , C(=NR e2 ) R b2 , C(=NR e2 ) N.R. c2 R d2 , N.R. c2 C (=NR e2 ) N.R. c2 R d2 , N.R. c2 C (=NR e2 ) R b2 , N.R. c2 S(O)NR c2 R d2 , N.R. c2 S(O)R b2 , N.R. c2 S (O) 2 R b2 , N.R. c2 S(O)(=NR e2 ) R b2 , N.R. c2 S (O) 2 N.R. c2 R d2 , S(O)R b2 , S(O)NR c2 R d2 , S(O) 2 R b2 , S(O) 2 N.R. c2 R d2 , OS(O)(=NR e2 ) R b2 , OS(O) 2 R b2 , S.F. 5 , P(O)R f2 R g2 , OP(O)(OR h2 ) (OR i2 ), P(O)(OR h2 ) (OR i2 ), and B.R. j2 R k2 is selected from R 2 The above C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R C is optionally substituted with a substituent; R 3 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a3 , S.R. a3 , N.H.O.R. a3 , C(O)R b3 , C(O)NR c3 R d3 , C(O)NR c3 (OR a3 ), C(O)OR a3 , O.C.(O)R b3 , O.C.(O)NR c3 R d3 , N.R. c3 R d3 , N.R. c3 N.R. c3 R d3 , N.R. c3 C(O)R b3 , N.R. c3 C(O)OR a3 , N.R. c3 C(O)NR c3 R d3 , C(=NR e3 ) R b3 , C(=NR e3 ) N.R. c3 R d3 , N.R. c3 C (=NR e3 ) N.R. c3 R d3 , N.R. c3 C (=NR e3 ) R b3 , N.R. c3 S(O)NR c3 R d3 , N.R. c3 S(O)R b3 , N.R. c3 S (O) 2 R b3 , N.R. c3 S(O)(=NR e3 ) R b3 , N.R. c3 S (O) 2 N.R. c3 R d3 , S(O)R b3 , S(O)NR c3 R d3 , S(O) 2 R b3 , S(O) 2 N.R. c3 R d3 , OS(O)(=NR e3 ) R b3 , OS(O) 2 R b3 , S.F. 5 , P(O)R f3 R g3 , OP(O)(OR h3 ) (OR i3 ), P(O)(OR h3 ) (OR i3 ), and B.R. j3 R k3 is selected from R 3 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R D is optionally substituted with a substituent; Cy 1 is C 6-14 Aryl, C 3-14 cycloalkyl, or 5- to 14-membered heteroaryl, 6-14 Aryl, C 3-14 Cycloalkyl, or 5- to 14-membered heteroaryl, is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R E Or R M is optionally substituted with a substituent; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl, 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl can be selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R F is optionally substituted with a substituent; Each R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R a2 , R c2 , R d2 , R a3 , R c3 , and R d3 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G is optionally substituted with a substituent; or any R bonded to the same N atom c2 and R d2 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, said 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group being selected from 1, 2, 3, or 4 independently selected R G is optionally substituted with a substituent; or any R bonded to the same N atom c3 and R d3 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, said 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group being selected from 1, 2, 3, or 4 independently selected R G is optionally substituted with a substituent; Each R b2 and R b3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R b2 and R b3 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R G is optionally substituted with a substituent; Each R e2 and R e3 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R f2 , R g2 , R f3 , and R g3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R h2 , R i2 , R h3 , and R i3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R j2 , R k2 , R j3 , and R k3 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; or any R bonded to the same B atom j2 and R k2 together with the B atom to which they are attached, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; or any R bonded to the same B atom j3 and R k3 together with the B atom to which they are attached, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R C , R D , R E , R M , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a4 , S.R. a4 , N.H.O.R. a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)NR c4 (OR a4 ), C(O)OR a4 , O.C.(O)R b4 , O.C.(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 N.R. c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 ) R b4 , C(=NR e4 ) N.R. c4 R d4 , N.R. c4 C (=NR e4 ) N.R. c4 R d4 , N.R. c4 C (=NR e4 ) R b4 , N.R. c4 S(O)R b4 , N.R. c4 S(O)NR c4 R d4 , N.R. c4 S (O) 2 R b4 , N.R. c4 S(O)(=NR e4 ) R b4 , N.R. c4 S (O) 2 N.R. c4 R d4 , S(O)R b4 , S(O)NR c4 R d4 , S(O) 2 R b4 , S(O) 2 N.R. c4 R d4 , OS(O)(=NR e4 ) R b4 , OS(O) 2 R b4 , S.F. 5 , P(O)R f4 R g4 , OP(O)(OR h4 ) (OR i4 ), P(O)(OR h4 ) (OR i4 ), and B.R. j4 R k4 is selected from R C , R D , R E , R M , R F , and R G The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H is optionally substituted with a substituent; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R a4 , R c4 , and R d4 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H is optionally substituted with a substituent; Or any R bonded to the same N atom c4 and R d4 optionally form, together with the N atom to which they are attached, a 5- or 6-membered heteroaryl or a 4- to 14-membered heterocycloalkyl group, said 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group being selected from 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R b4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R b4 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, 4, 5, 6, 7, or 8 independently selected R H is optionally substituted with a substituent; Each R e4 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R f4 and R g4 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R h4 and R i4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R j4 and R k4 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; Or any R bonded to the same B atom j4 and R k4 together with the B atom to which they are attached, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a5 , S.R. a5 , N.H.O.R. a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)NR c5 (OR a5 ), C(O)OR a5 , O.C.(O)R b5 , O.C.(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 N.R. c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 ) R b5 , C(=NR e5 ) N.R. c5 R d5 , N.R. c5 C (=NR e5 ) N.R. c5 R d5 , N.R. c5 C (=NR e5 ) R b5 , N.R. c5 S(O)R b5 , N.R. c5 S(O)NR c5 R d5 , N.R. c5 S (O) 2 R b5 , N.R. c5 S(O)(=NR e5 ) R b5 , N.R. c5 S (O) 2 N.R. c5 R d5 , S(O)R b5 , S(O)NR c5 R d5 , S(O) 2 R b5 , S(O) 2 N.R. c5 R d5 , OS(O)(=NR e5 ) R b5 , OS(O) 2 R b5 , S.F. 5 , P(O)R f5 R g5 , OP(O)(OR h5 ) (OR i5 ), P(O)(OR h5 ) (OR i5 ), and B.R. j5 R k5 is selected from R H The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I is optionally substituted with a substituent; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R a5 , R c5 , and R d5 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I is optionally substituted with a substituent; or any R bonded to the same N atom c5 and R d5 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, said 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group being selected from 1, 2, 3, or 4 independently selected R I is optionally substituted with a substituent; Each R b5 are independently H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R b5 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R I is optionally substituted with a substituent; Each R e5 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R f5 and R g5 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R h5 and R i5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R j5 and R k5 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; Or any R bonded to the same B atom j5 and R k5 together with the B atom to which they are attached, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a6 , S.R. a6 , N.H.O.R. a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 , O.C.(O)R b6 , O.C.(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 N.R. c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 ) R b6 , C(=NR e6 ) N.R. c6 R d6 , N.R. c6 C (=NR e6 ) N.R. c6 R d6 , N.R. c6 C (=NR e6 ) R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S (O) 2 R b6 , N.R. c6 S(O)(=NR e6 ) R b6 , N.R. c6 S (O) 2 N.R. c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O) 2 R b6 , S(O) 2 N.R. c6 R d6 , OS(O)(=NR e6 ) R b6 , OS(O) 2 R b6 , S.F. 5 , P(O)R f6 R g6 , OP(O)(OR h6 ) (OR i6 ), P(O)(OR h6 ) (OR i6 ), and B.R. j6 R k6 is selected from R I The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J is optionally substituted with a substituent; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R a6 , R c6 , and R d6 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J is optionally substituted with a substituent; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, said 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group being selected from 1, 2, 3, or 4 independently selected R J is optionally substituted with a substituent; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R b6 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R J is optionally substituted with a substituent; Each R e6 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R f6 and R g6 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R h6 and R i6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R j6 and R k6 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; Or any R bonded to the same B atom j6 and R k6 together with the B atom to which they are attached, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a7 , S.R. a7 , N.H.O.R. a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 , O.C.(O)R b7 , O.C.(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 N.R. c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 ) R b7 , C(=NR e7 ) N.R. c7 R d7 , N.R. c7 C (=NR e7 ) N.R. c7 R d7 , N.R. c7 C (=NR e7 ) R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S (O) 2 R b7 , N.R. c7 S(O)(=NR e7 ) R b7 , N.R. c7 S (O) 2 N.R. c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O) 2 R b7 , S(O) 2 N.R. c7 R d7 , OS(O)(=NR e7 ) R b7 , OS(O) 2 R b7 , S.F. 5 , P(O)R f7 R g7 , OP(O)(OR h7 ) (OR i7 ), P(O)(OR h7 ) (OR i7 ), and B.R. j7 R k7 is selected from R J The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K is optionally substituted with a substituent; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R a7 , R c7 , and R d7 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K is optionally substituted with a substituent; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group, said 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group being selected from 1, 2, 3, or 4 independently selected R K is optionally substituted with a substituent; Each R b7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-, R b7 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, 3, or 4 independently selected R K is optionally substituted with a substituent; Each R e7 are independently H, OH, CN, C 1-6 Alkyl, C 2-6 Alkenyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R f7 and R g7 are independently H, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, C 1-6 Haloalkoxy, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R h7 and R i7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Each R j7 and R k7 are independently OH, C 1-6 Alkoxy, and C 1-6 haloalkoxy; Or any R bonded to the same B atom j7 and R k7 together with the B atom to which they are attached, 1-6 Alkyl and C 1-6 forming a 5- or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from haloalkyl; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH 2 , NO 2 , S.F. 5 , C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; Any heteroaryl group in any of the above substituents optionally includes an N-oxide on any ring-forming nitrogen.

2. During the ceremony: Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a7 , S.R. a7 , N.H.O.R. a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)NR c7 (OR a7 ), C(O)OR a7 , O.C.(O)R b7 , O.C.(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 N.R. c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 ) R b7 , C(=NR e7 ) N.R. c7 R d7 , N.R. c7 C (=NR e7 ) N.R. c7 R d7 , N.R. c7 C (=NR e7 ) R b7 , N.R. c7 S(O)R b7 , N.R. c7 S(O)NR c7 R d7 , N.R. c7 S (O) 2 R b7 , N.R. c7 S(O)(=NR e7 ) R b7 , N.R. c7 S (O) 2 N.R. c7 R d7 , S(O)R b7 , S(O)NR c7 R d7 , S(O) 2 R b7 , S(O) 2 N.R. c7 R d7 , OS(O)(=NR e7 ) R b7 , OS(O) 2 R b7 , S.F. 5 , P(O)R f7 R g7 , OP(O)(OR h7 ) (OR i7 ), P(O)(OR h7 ) (OR i7 ), and B.R. j7 R k7 Selected from: Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; or any R bonded to the same N atom c7 and R d7 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group; Each R b7 are independently H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 2. The compound of claim 1, or a pharma- ceutically acceptable salt thereof, selected from alkyl-.

3. During the ceremony: Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, CN, NO 2 , OR a6 , S.R. a6 , N.H.O.R. a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)NR c6 (OR a6 ), C(O)OR a6 , O.C.(O)R b6 , O.C.(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 N.R. c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c5 R d6 , C(=NR e6 ) R b6 , C(=NR e6 ) N.R. c6 R d6 , N.R. c6 C (=NR e6 ) N.R. c6 R d6 , N.R. c6 C (=NR e6 ) R b6 , N.R. c6 S(O)R b6 , N.R. c6 S(O)NR c6 R d6 , N.R. c6 S (O) 2 R b6 , N.R. c6 S(O)(=NR e6 ) R b6 , N.R. c6 S (O) 2 N.R. c6 R d6 , S(O)R b6 , S(O)NR c6 R d6 , S(O) 2 R b6 , S(O) 2 N.R. c6 R d6 , OS(O)(=NR e6 ) R b6 , OS(O) 2 R b6 , S.F. 5 , P(O)R f6 R g6 , OP(O)(OR h6 ) (OR i6 ), P(O)(OR h6 ) (OR i6 ), and B.R. j6 R k6 Selected from: Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 alkyl-; or any R bonded to the same N atom c6 and R d6 together with the N atom to which they are attached form a 5- or 6-membered heteroaryl or 4- to 14-membered heterocycloalkyl group; Each R b6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 3. The compound of claim 1 or 2, or a pharma- ceutically acceptable salt thereof, selected from alkyl-.

4. Cy 1 is C 6-14 aryl, 6-14 Aryl is one, two, three, or four independently selected R E 4. The compound according to any one of claims 1 to 3, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

5. Cy 1 is C 3-14 cycloalkyl, 3-14 Cycloalkyl is one, two, three, or four independently selected R E 4. The compound according to any one of claims 1 to 3, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

6. Cy 1 is a 5- to 14-membered heteroaryl, said 5- to 14-membered heteroaryl being selected from 1, 2, 3, or 4 independently selected R E 4. The compound according to any one of claims 1 to 3, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

7. Cy 1 is phenyl or 5- to 10-membered heteroaryl, said phenyl or 5- to 10-membered heteroaryl being selected from 1, 2, 3, or 4 independently selected R E 4. The compound according to any one of claims 1 to 3, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

8. Cy 1 is selected from phenyl, pyridinyl, furanyl, benzofuranyl, and pyrazolyl, each of which is 1-3 Alkyl, halo, CN, and C 1-3 4. The compound of any one of claims 1 to 3, or a pharma- ceutically acceptable salt thereof, optionally substituted with 1, 2, or 3 substituents selected from alkoxy.

9. The optionally substituted Cy 1 is selected from cyanophenyl, cyanofluorophenyl, 2,3-dihydro-1H-pyrrolo[2,3,-b]pyridine, phenyl, methoxyphenyl, fluorophenyl, pyridinyl, methylfuranyl, benzofuranyl, and methyl-1H-pyrazolyl, or a pharma- ceutically acceptable salt thereof.

10. The optionally substituted Cy 1 is selected from 2-cyanophenyl, 3-cyanophenyl, 3-cyano-2-fluorophenyl, 2,3-dihydro-1H-pyrrolo[2,3,-b]pyridine, phenyl, 3-methoxyphenyl, 2-fluorophenyl, pyridin-4-yl, 2-methylfuran-3-yl, benzofuran-2-yl, and 1-methyl-1H-pyrazol-4-yl, or a pharma-ceutically acceptable salt thereof.

11. The optionally substituted Cy 1 The compound according to any one of claims 1 to 3, wherein is selected from 3-cyanophenyl and phenyl, or a pharma- ceutically acceptable salt thereof.

12. Cy 2 is C 6-14 aryl, 6-14 Aryl is one, two, three, or four independently selected R F 12. The compound according to any one of claims 1 to 11, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

13. Cy 2 is C 3-14 cycloalkyl, 3-14 Cycloalkyl is one, two, three, or four independently selected R F 12. The compound according to any one of claims 1 to 11, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

14. Cy 2 is a 5- to 14-membered heteroaryl, said 5- to 14-membered heteroaryl being selected from 1, 2, 3, or 4 independently selected R F 12. The compound according to any one of claims 1 to 11, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

15. Cy 2 is a 4- to 14-membered heterocycloalkyl, said 4- to 14-membered heterocycloalkyl being selected from 1, 2, 3, or 4 independently selected R F 12. The compound according to any one of claims 1 to 11, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

16. Cy 2 is C 3-6 selected from cycloalkyl, phenyl, 5- to 10-membered heteroaryl, and 5- to 10-membered heterocycloalkyl; The 5- to 10-membered heteroaryl and 5- to 10-membered heterocycloalkyl each contain 1, 2, or 3 nitrogen atoms as ring-forming heteroatoms, one of the 1 or 2 nitrogen atoms is optionally an N-oxide, and a ring-forming carbon atom is optionally substituted by oxo; Said C 3-6 Cycloalkyl, phenyl, 5- to 10-membered heteroaryl, and 5- to 10-membered heterocycloalkyl are each C 1-3 Alkyl, C 1-3 Alkyl-OH, Halo, CN, C 1-3 Alkoxy, and C(O)NH 2 12. The compound of any one of claims 1 to 11, or a pharma- ceutically acceptable salt thereof, optionally substituted with 1, 2, or 3 substituents selected from:

17. Cy 2 is selected from pyridinyl, tetrahydropyridinyl, piperidinyl, pyridine-N-oxide, oxo-dihydropyridinyl, phenyl, pyrazolo[1,5-a]pyridin-3-yl, pyrazolo[1,5-b]pyridazinyl, pyrazolyl, pyrimidinyl, quinolinyl, oxazolyl, 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, and triazolyl, each of which is selected from C 1-3 Alkyl, C 1-3 Alkyl-OH, Halo, CN, C 1-3 Alkoxy, and C(O)NH 2 12. The compound of any one of claims 1 to 11, or a pharma- ceutically acceptable salt thereof, optionally substituted with 1, 2, or 3 substituents selected from:

18. Cy 2 is C 1-3 Alkyl, halo, CN, C 1-3 Alkoxy, and C(O)NH 2 12. The compound of any one of claims 1 to 11, or a pharma- ceutically acceptable salt thereof, which is cyclopropyl optionally substituted with 1, 2, or 3 substituents selected from:

19. The optionally substituted Cy 2 are 2,6-dimethylpyridin-4-yl, pyridin-4-yl, 2-methylpyridin-4-yl, 1-carbamoyl-1,2,3,6-tetrahydropyridin-4-yl, 1-carbamoylpiperidin-4-yl, 2-methoxypyridin-4-yl, 2-methoxy-6-methylpyridin-4-yl, 2,6-dimethylpyridin-4-yl-1-oxide, 1-ethyl-6-oxo-1, 6-dihydropyridin-3-yl, 3-methylpyridin-4-yl, 3-fluoropyridin-4-yl, 3-chloropyridin-4-yl, 3-methoxypyridin-4-yl, 3-cyanopyridin-4-yl, 4-carbamoylphenyl, pyrazolo[1,5-a]pyridin-3-yl, pyrazolo[1,5-b]pyridazin-3-yl, 5-methyl-1H-pyrazol-4-yl, 1-ethyl- 12. The compound of any one of claims 1 to 11, selected from 1H-pyrazol-5-yl, 1-isopropyl-1H-pyrazol-5-yl, 1-propyl-1H-pyrazol-5-yl, pyrimidin-4-yl, 2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl, quinolin-5-yl, 5-fluoropyrimidin-4-yl, oxazol-5-yl, 4-methyloxazol-5-yl, 4-ethyloxazol-5-yl, 4-(hydroxymethyl)-2-methyloxazol-5-yl, 4-(methoxymethyl)-2-methyloxazol-5-yl, 4-(hydroxymethyl)-2-methyloxazol-5-yl, 1-ethyl-1H-1,2,3-triazol-5-yl, and cyclopropyl, or a pharma- ceutically acceptable salt thereof.

20. R 1 is H and C 1-6 20. The compound of any one of claims 1 to 19, or a pharma- ceutically acceptable salt thereof, wherein: R is selected from the group consisting of alkyl, aryl, arylsulfates, arylalkyl, arylsulfates ...

21. R 1 is H or C 1-3 20. The compound of any one of claims 1 to 19, or a pharma- ceutically acceptable salt thereof, wherein: R is an alkyl group;

22. R 1 is H or ethyl, or a pharma- ceutically acceptable salt thereof.

23. R 1 is H, or a pharma- ceutically acceptable salt thereof.

24. R 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a2 , N.R. c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 and C is selected from 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R C 24. The compound according to any one of claims 1 to 23, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

25. R 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl-, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a2 , N.R. c2 R d2 , C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 and C is selected from 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, C 6-14 Aryl-C 1-6 Alkyl-, C 3-14 Cycloalkyl-C 1-6 Alkyl-, (5- to 14-membered heteroaryl)-C 1-6 Alkyl- and (4- to 14-membered heterocycloalkyl)-C 1-6 Each alkyl- is selected from 1, 2, or 3 independently selected R C 24. The compound according to any one of claims 1 to 23, or a pharma- ceutically acceptable salt thereof, which is substituted with a substituent.

26. R 2 is phenyl, 5- to 6-membered heteroaryl, C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 wherein said phenyl and 5- to 6-membered heteroaryl each have one or two independently selected R C 24. The compound according to any one of claims 1 to 23, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

27. R 2 is C(O)OEt,CONH 2 24. The compound of any one of claims 1 to 23, or a pharma- ceutically acceptable salt thereof, selected from:

28. R 2 is selected from phenyl and 5-6 membered heteroaryl, each of which is optionally substituted with C(O)OMe, or a pharma- ceutically acceptable salt thereof.

29. R 2 teeth, 【Chemistry 2】 24. The compound according to any one of claims 1 to 23, which is: or a pharma- ceutically acceptable salt thereof.

30. The optionally substituted R 2 are pyridinylmethyl, hydroxy(phenyl)methyl, hydroxyethylamino(phenyl)ethyl, cyclohexylmethyl, fluorobenzyl, hydroxy(fluorophenyl)methyl, (methylpyridinyl)methyl, (fluoropyridinyl)methyl, (trifluoromethylpyridinyl)methyl, ((hydroxymethyl)pyridinyl)methyl, (methoxypyridinyl)methyl, (methylpyrazolyl)benzyl, (methylpyrazolyl)methyl, benzisoxazolylmethyl, (methylindazolyl)methyl, (hydroxyazetidinyl)methyl, benzoyl, phenylcyclopropyl, (cyano(phenyl)methyl)amino, tetrahydrofuranyl, phenyl(pyridinyloxy)methyl, fluoro((fluorohydroxypyrrolidinyl)methyl, 24. The compound of any one of claims 1 to 23, or a pharma- ceutically acceptable salt thereof, selected from: fluoro((N-methylmethylsulfonamido)methyl)benzyl, ((dioxoimidazolidinyl)methyl)fluorobenzyl, (difluorophenyl)(hydroxy)methyl, (pyridinyl-1H-tetrazolyl)methyl, (pyrazolyl-1H-tetrazolyl)methyl, (thiazolyl-1H-tetrazolyl)methyl, (methyltrifluoromethylpyrazolyl)methyl, ((1,1-dioxidoisothiazolidinyl)methyl)fluorobenzyl, ((methyl-2,5-dioxoimidazolidinyl)methyl)benzyl, and (cyanophenoxy)methyl.

31. The optionally substituted R 2 are pyridin-2-ylmethyl, hydroxy(phenyl)methyl, (2-hydroxyethylamino)(phenyl)methyl, cyclohexylmethyl, 2-fluorobenzyl, (2-fluorophenyl)(hydroxy)methyl, (6-methylpyridin-2-yl)methyl, (3-fluoropyridin-2-yl)methyl, (3-methoxypyridin-2-yl)methyl, 2-(1-methyl-1H-pyrazol-4-yl)benzyl, benzo[d]isoxazol-3-ylmethyl, (1-methyl-1H-indazol-3-yl)methyl, (3-hydroxyazetyl)methyl, 2-fluoro-6-(((3R,4R)-3-fluoro-4-hydroxypyrrolidin-1-yl)methyl)benzyl, 2-((4-carboxypiperidin-1-yl)methyl)-6-fluorobenzyl, 2-fluoro-6-((N-methylmethylsulfonamido)methyl)benzyl, 2-((2,5-dioxoimidazolidin-1-yl)methyl)-6-fluoro benzyl, (2,6-difluorophenyl)(hydroxy)methyl, (5-(pyridin-2-yl)-1H-tetrazol-1-yl)methyl, (5-(1H-pyrazol-1-yl)-1H-tetrazol-1-yl)methyl, (5-(thiazol-4-yl)-1H-tetrazol-1-yl)methyl, (5-methyl-3-(trifluoromethyl)-1H-pyrazol-1-yl)methyl, (3-methylpyridin-2-yl)methyl, 2-((1,1-dioxidoisothiazolidin-2-yl)methyl)-6-fluorobenzyl, 2-fluoro-6-( 24. The compound of any one of claims 1 to 23, selected from (3-methyl-2,5-dioxoimidazolidin-1-yl)methyl)benzyl, (6-(trifluoromethyl)pyridin-2-yl)methyl, (3-(hydroxymethyl)pyridin-2-yl)methyl, (1-methyl-1H-pyrazol-3-yl)methyl, and (2-cyanophenoxy)methyl, (3-methylpyridin-2-yl)methoxy, (6-methylpyridin-2-yl)methoxy, and ((3-methylpyridin-2-yl)methyl)amino, or a pharma- ceutically acceptable salt thereof.

32. Each R C are independently halo, C 1-6 Alkyl, C 6-14 Aryl, 5- to 14-membered heteroaryl, (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl-, OR a4 , C(O)OR a4 , and N.R. c4 R d4 and C is selected from 1-6 Alkyl, 5- to 14-membered heteroaryl, and (4- to 14-membered heterocycloalkyl)-C 1-6 Alkyl- is one, two, or three independently selected R H 27. The compound according to any one of claims 1 to 26, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

33. Each R H are independently halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, OR a5 , C(O)OR a5 , and N.R. c5 S (O) 2 R b5 33. The compound according to any one of claims 1 to 26 and 32, or a pharma- ceutically acceptable salt thereof, selected from:

34. R 3 H, halo, C 1-6 Alkyl, C 6-14 Aryl, 5-14 membered heteroaryl, CN, and OR a3 and C is selected from 1-6 Alkyl, C 6-14 Each of the aryl and 5- to 14-membered heteroaryl groups is selected from 1, 2, or 3 independently selected R D 34. The compound according to any one of claims 1 to 33, or a pharma- ceutically acceptable salt thereof, optionally substituted with a substituent.

35. R 3 is H, C 1-3 34. The compound of any one of claims 1 to 33, or a pharma- ceutically acceptable salt thereof, selected from alkyl, halo, CN, morpholinomethyl, 4-ethoxyphenyl, 2-hydroxyethoxy, and pyridinyl.

36. R 3 34. The compound of any one of claims 1 to 33, wherein is selected from H, methyl, bromo, CN, morpholinomethyl, 4-ethoxyphenyl, 2-hydroxyethoxy, and pyridinyl, or a pharma- ceutically acceptable salt thereof.

37. During the ceremony: R 1 is H and C 1-6 alkyl; R 2 is C 6-14 Aryl, 5-14 membered heteroaryl, C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 is selected from R 2 The above C 6-14 Each of the aryl and 5- to 14-membered heteroaryl is selected from 1, 2, 3, or 4 independently selected R C is optionally substituted with a substituent; R 3 H, D, Halo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 6-14 Aryl, 5-14 membered heteroaryl, CN, and OR a3 is selected from R 3 The above C 1-6 Alkyl, C 6-14 Aryl and 5- to 14-membered heteroaryl each have 1, 2, 3, or 4 independently selected R D is optionally substituted with a substituent; Cy 1 is one, two, three, or four independently selected R M phenyl optionally substituted with a substituent, or C 10-14 aryl or 5- to 14-membered heteroaryl; Cy 1 The above C 10-14 Aryl and 5- to 14-membered heteroaryl are each selected from 1, 2, 3, or 4 independently selected R E is optionally substituted with a substituent; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; Cy 2 The above C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R F is optionally substituted with a substituent; Each R a2 , R c2 , R d2 , and R a3 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; R a2 , R c2 , R d2 , and R a3 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R G is optionally substituted with a substituent; Each R b2 is independently 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R G is optionally substituted with a substituent; Each R C , R D , R E , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, CN, NO 2 , OR a4 , S.R. a4 , N.H.O.R. a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , O.C.(O)R b4 , O.C.(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 ) R b4 , C(=NR e4 ) N.R. c4 R d4 , N.R. c4 C (=NR e4 ) N.R. c4 R d4 , N.R. c4 S(O)R b4 , N.R. c4 S (O) 2 R b4 , and N.R. c4 S (O) 2 N.R. c4 R d4 is selected from R C , R D , R E , R F , and R G The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R M are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, 2-CN, 3-CN, NO 2 , OR a4 , S.R. a4 , N.H.O.R. a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , O.C.(O)R b4 , O.C.(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 ) R b4 , C(=NR e4 ) N.R. c4 R d4 , N.R. c4 C (=NR e4 ) N.R. c4 R d4 , N.R. c4 S(O)R b4 , N.R. c4 S (O) 2 R b4 , and N.R. c4 S (O) 2 N.R. c4 R d4 is selected from R M The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; R a4 , R c4 , and R d4 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R b4 is independently 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R e4 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl and C 1-6 haloalkoxy; Each R H are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, CN, NO 2 , OR a5 , S.R. a5 , N.H.O.R. a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , O.C.(O)R b5 , O.C.(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 ) R b5 , C(=NR e5 ) N.R. c5 R d5 , N.R. c5 C (=NR e5 ) N.R. c5 R d5 , N.R. c5 S(O)R b5 , N.R. c5 S (O) 2 R b5 , and N.R. c5 S (O) 2 N.R. c5 R d5 is selected from R H The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R I is optionally substituted with a substituent; Each R a5 , R c5 , and R d5 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; R a4 , R c4 , and R d4 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R I is optionally substituted with a substituent; Each R b5 is independently 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R I is optionally substituted with a substituent; Each R e5 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, and C 1-6 haloalkoxy; Each R I are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, CN, NO 2 , OR a6 , S.R. a6 , N.H.O.R. a6 , C(O)R b6 , C(O)NR c6 R d6 , C(O)OR a6 , O.C.(O)R b6 , O.C.(O)NR c6 R d6 , N.R. c6 R d6 , N.R. c6 C(O)R b6 , N.R. c6 C(O)OR a6 , N.R. c6 C(O)NR c6 R d6 , C(=NR e6 ) R b6 , C(=NR e6 ) N.R. c6 R d6 , N.R. c6 C (=NR e6 ) N.R. c6 R d6 , N.R. c6 S(O)R b6 , N.R. c6 S (O) 2 R b6 , and N.R. c6 S (O) 2 N.R. c6 R d6 is selected from R H The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R J is optionally substituted with a substituent; Each R a6 , R c6 , and R d6 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; R a6 , R c6 , and R d6 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R J is optionally substituted with a substituent; Each R b6 is independently 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R J is optionally substituted with a substituent; Each R e6 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl and C 1-6 haloalkoxy; Each R J are independently D, halo, oxo, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, CN, NO 2 , OR a7 , S.R. a7 , N.H.O.R. a7 , C(O)R b7 , C(O)NR c7 R d7 , C(O)OR a7 , O.C.(O)R b7 , O.C.(O)NR c7 R d7 , N.R. c7 R d7 , N.R. c7 C(O)R b7 , N.R. c7 C(O)OR a7 , N.R. c7 C(O)NR c7 R d7 , C(=NR e7 ) R b7 , C(=NR e7 ) N.R. c7 R d7 , N.R. c7 C (=NR e7 ) N.R. c7 R d7 , N.R. c7 S(O)R b7 , N.R. c7 S (O) 2 R b7 , and N.R. c7 S (O) 2 N.R. c7 R d7 is selected from R H The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R K is optionally substituted with a substituent; Each R a7 , R c7 , and R d7 are independently H, C 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; R a7 , R c7 , and R d7 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R K is optionally substituted with a substituent; Each R b7 is independently 1-6 Alkyl, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R K is optionally substituted with a substituent; Each R e7 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl, and C 1-6 haloalkoxy; Each R K are independently H, D, OH, halo, oxo, CN, C(O)OH, NH 2 , NO 2 , S.F. 5 , C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkoxy, C 1-6 Haloalkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 2. The compound of claim 1, or a pharma- ceutically acceptable salt thereof, wherein any heteroaryl group of any of the above substituents optionally contains an N-oxide on any ring-forming nitrogen.

38. During the ceremony: R 1 is H and C 1-6 alkyl; R 2 is C 6-14 Aryl, 5-14 membered heteroaryl, C(O)R b2 , C(O)NR c2 R d2 , and C(O)OR a2 is selected from R 2 The above C 6-14 Each of the aryl and 5- to 14-membered heteroaryl is selected from 1, 2, 3, or 4 independently selected R C is optionally substituted with a substituent; R 3 H, D, Halo, C 1-6 Alkyl, C 6-14 Aryl, 5-14 membered heteroaryl, CN, and OR a3 is selected from R 3 The above C 1-6 Alkyl, C 6-14 Aryl and 5- to 14-membered heteroaryl each have 1, 2, 3, or 4 independently selected R D is optionally substituted with a substituent; Cy 1 is one, two, three, or four independently selected R M phenyl optionally substituted with a substituent, or C 10-14 aryl or 5- to 14-membered heteroaryl; Cy 1 The above C 10-14 Aryl and 5- to 14-membered heteroaryl are each selected from 1, 2, 3, or 4 independently selected R E is optionally substituted with a substituent; Cy 2 is C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, or 4- to 14-membered heterocycloalkyl; Cy 2 The above C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R F is optionally substituted with a substituent; Each R a2 , R c2 , R d2 , and R a3 are independently H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; R a2 , R c2 , R d2 , and R a3 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R G is optionally substituted with a substituent; Each R b2 is independently 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R G is optionally substituted with a substituent; Each R C , R D , R E , R F , and R G are independently D, halo, oxo, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, CN, NO 2 , OR a4 , S.R. a4 , N.H.O.R. a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , O.C.(O)R b4 , O.C.(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 ) R b4 , C(=NR e4 ) N.R. c4 R d4 , N.R. c4 C (=NR e4 ) N.R. c4 R d4 , N.R. c4 S(O)R b4 , N.R. c4 S (O) 2 R b4 , and N.R. c4 S (O) 2 N.R. c4 R d4 is selected from R C , R D , R E , R F , and R G The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R M are independently D, halo, oxo, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, 4- to 14-membered heterocycloalkyl, 2-CN, 3-CN, NO 2 , OR a4 , S.R. a4 , N.H.O.R. a4 , C(O)R b4 , C(O)NR c4 R d4 , C(O)OR a4 , O.C.(O)R b4 , O.C.(O)NR c4 R d4 , N.R. c4 R d4 , N.R. c4 C(O)R b4 , N.R. c4 C(O)OR a4 , N.R. c4 C(O)NR c4 R d4 , C(=NR e4 ) R b4 , C(=NR e4 ) N.R. c4 R d4 , N.R. c4 C (=NR e4 ) N.R. c4 R d4 , N.R. c4 S(O)R b4 , N.R. c4 S (O) 2 R b4 , and N.R. c4 S (O) 2 N.R. c4 R d4 is selected from R M The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R a4 , R c4 , and R d4 are independently H, C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; R a4 , R c4 , and R d4 The above C 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R b4 is independently 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 Cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl each have 1, 2, 3, or 4 independently selected R H is optionally substituted with a substituent; Each R e4 are independently H, OH, CN, C 1-6 Alkyl, C 1-6 Alkoxy, C 1-6 Haloalkyl and C 1-6 haloalkoxy; Each R H are independently D, halo, oxo, C 1-6 Alkyl, CN, NO 2 , OR a5 , S.R. a5 , N.H.O.R. a5 , C(O)R b5 , C(O)NR c5 R d5 , C(O)OR a5 , O.C.(O)R b5 , O.C.(O)NR c5 R d5 , N.R. c5 R d5 , N.R. c5 C(O)R b5 , N.R. c5 C(O)OR a5 , N.R. c5 C(O)NR c5 R d5 , C(=NR e5 ) R b5 , C(=NR e5 ) N.R. c5 R d5 , N.R. c5 C (=NR e5 ) N.R. c5 R d5 , N.R. c5 S(O)R b5 , N.R. c5 S (O) 2 R b5 , and N.R. c5 S (O) 2 N.R. c5 R d5 Selected from: Each R a5 , R c5 , and R d5 are independently H and C 1-6 alkyl; Each R b5 is independently 1-6 Alkyl, C 2-6 Alkenyl, C 2-6 Alkynyl, C 6-14 Aryl, C 3-14 selected from cycloalkyl, 5- to 14-membered heteroaryl, and 4- to 14-membered heterocycloalkyl; Each R e5 are independently H and C 1-6 2. The compound of claim 1, or a pharma- ceutically acceptable salt thereof, wherein: R is selected from the group consisting of alkyl, aryl, arylsulfates, arylalkyl, arylsulfates ...

39. 8-(2-methylpyridin-4-yl)-2,7-diphenylimidazo[1,2-c]pyrimidin-5-amine; Ethyl 5-amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo[1,2-c]pyrimidine-2-carboxylate; Methyl 5-(5-amino-7-phenyl-8-(pyridin-4-yl)imidazo[1,2-c]pyrimidin-2-yl)isoxazole-3-carboxylate; 5-amino-8-(2-methylpyridin-4-yl)-7-phenylimidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-8-(1-carbamoyl-1,2,3,6-tetrahydropyridin-4-yl)-N-ethyl-7-phenylimidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-8-(1-carbamoylpiperidin-4-yl)-N-ethyl-7-phenylimidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-3-(2-hydroxyethoxy)-8-(2-methoxypyridin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(2-methoxypyridin-4-yl)-3-methylimidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(2-methoxypyridin-4-yl)-3-(pyridin-2-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-3-bromo-8-(2,6-dimethylpyridin-4-yl)-N-ethyl-7-phenylimidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-3-cyano-8-(2,6-dimethylpyridin-4-yl)-N-ethyl-7-phenylimidazo[1,2-c]pyrimidine-2-carboxamide; 8-(2,6-dimethylpyridin-4-yl)-N-ethyl-5-(ethylamino)-7-phenylimidazo[1,2-c]pyrimidine-2-carboxamide; 4-(5-amino-2-(ethylcarbamoyl)-7-phenylimidazo[1,2-c]pyrimidin-8-yl)-2,6-dimethylpyridine 1-oxide; 3-(5-amino-8-(1-ethyl-6-oxo-1,6-dihydropyridin-3-yl)-2-(3-hydroxyazetidine-1-carbonyl)imidazo[1,2-c]pyrimidin-7-yl)benzonitrile; 5-amino-7-(3-cyanophenyl)-8-(1-ethyl-6-oxo-1,6-dihydropyridin-3-yl)-N-(1-(2-hydroxyethyl)-1H-pyrazol-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(pyridin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(3-methylpyridin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(3-fluoropyridin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(3-chloropyridin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(3-methoxypyridin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(3-cyanopyridin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-8-(4-carbamoylphenyl)-7-(3-cyanophenyl)-N-ethylimidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(pyrazolo[1,5-a]pyridin-3-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(5-methyl-1H-pyrazol-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(1-ethyl-1H-pyrazol-5-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(1-isopropyl-1H-pyrazol-5-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(1-propyl-1H-pyrazol-5-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-N-ethyl-8-(pyrimidin-4-yl)imidazo[1,2-c]pyrimidine-2-carboxamide; 5-amino-7-(3-cyanophenyl)-8-(2,3-dihydro-[1,4]dioxino[2,3-b]pyridin-8-yl)-N-ethylimidazo[1,2-c]pyrimidine-2-carboxamide; and 5-amino-7-(3-cyanophenyl)-8-cyclopropyl-N-ethylimidazo[1,2-c]pyrimidine-2-carboxamide; or a pharma- ceutically acceptable salt thereof.

2. The compound of claim 1, wherein the compound is selected from:

40. 3-(5-amino-8-(2,6-dimethylpyridin-4-yl)imidazo[1,2-c]pyrimidin-7-yl)benzonitrile; 8-(2,6-dimethylpyridin-4-yl)-3-(morpholinomethyl)-7-phenylimidazo[1,2-c]pyrimidin-5-amine; 7-(3-methoxyphenyl)-8-(pyridin-4-yl)imidazo[1,2-c]pyrimidin-5-amine; 7,8-di(pyridin-4-yl)imidazo[1,2-c]pyrimidin-5-amine; 7-(2-methylfuran-3-yl)-8-(pyridin-4-yl)imidazo[1,2-c]pyrimidin-5-amine; 7-(2-fluorophenyl)-8-(pyridin-4-yl)imidazo[1,2-c]pyrimidin-5-amine; 7-(benzofuran-2-yl)-8-(pyridin-4-yl)imidazo[1,2-c]pyrimidin-5-amine; 7-(1-methyl-1H-pyrazol-4-yl)-8-(2-methylpyridin-4-yl)imidazo[1,2-c]pyrimidin-5-amine; and 3-(4-ethoxyphenyl)-8-(2-methylpyridin-4-yl)-7-phenylimidazo[1,2-c]pyrimidin-5-amine; or a pharma- ceutically acceptable salt thereof.

41. 41. A pharmaceutical composition comprising a compound according to any one of claims 1 to 40, or a pharma- ceutically acceptable salt thereof, and a pharma- ceutically acceptable excipient or carrier.

42. 42. The pharmaceutical composition of claim 41, for use in treating a disease or disorder in a patient, wherein the disease or disorder is bladder cancer, lung cancer, breast cancer, ovarian cancer, colon cancer, pancreatic cancer, prostate cancer, or head and neck cancer.

43. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is head and neck cancer.

44. 44. The pharmaceutical composition of claim 43, wherein the head and neck cancer is head and neck squamous cell carcinoma.

45. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is lung cancer.

46. 46. ​​The pharmaceutical composition of claim 45, wherein the lung cancer is non-small cell lung cancer (NSCLC).

47. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is ovarian cancer.

48. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is prostate cancer.

49. 49. The pharmaceutical composition of claim 48, wherein the prostate cancer is metastatic castration-resistant prostate cancer.

50. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is breast cancer.

51. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is bladder cancer.

52. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is colon cancer.

53. 43. The pharmaceutical composition of claim 42, wherein the disease or disorder is pancreatic cancer.

Citation Information

Patent Citations

  • adenosine a2a receptor antagonist

    JP2005511698A

  • SUBSTITUTED INDOLYSINE-LIKE COMPOUNDS AND METHODS OF USE

    JP2005518358A

  • [1,2,4]TRIAZOLO[1,5-c]PYRIMIDINE DERIVATIVES

    WO1998042711A1

  • 2-aminopyridine compounds and use thereof as drugs

    WO2002014282A1

  • [1,2,4]-TRIAZOLO[1,5-c]PYRIMIDINE DERIVATIVE

    WO2004029056A1