According to multiple sources, including NASA and Cornell Chronicle, the vast majority of actively publishing climate scientists agree that humans are causing global warming and climate change. Specifically, over 99.9% of peer-reviewed scientific papers agree that climate change is mainly caused by humans. A 2019 review of scientific papers found the consensus on the cause of climate change to be at 100% . A 2013 study by Cook et al. found that 97-98% of the climate researchers most actively publishing in the field agreed that humans are causing global warming.
While there are some studies that suggest a lower percentage of agreement, these studies have been criticized for their methodology and for including scientists who are not experts in climate science. It is important to note that scientific consensus is not determined by a vote, but rather by the weight of evidence and the agreement among experts in the field.