Scientific consensus is the collective judgment, position, and opinion of the community of scientists in a particular field of study. Consensus implies general agreement, though not necessarily unanimity.
Consensus is normally achieved through communication at conferences, the publication process, replication (reproducible results by others), and peer review. These lead to a situation in which those within the discipline can often recognize such a consensus where it exists, but communicating to outsiders that consensus has been reached can be difficult, because the 'normal' debates through which science progresses may seem to outsiders as contestation. On occasion, scientific institutes issue position statements intended to communicate a summary of the science from the "inside" to the "outside" of the scientific community. In cases where there is little controversy regarding the subject under study, establishing what the consensus is can be quite straightforward.
Scientific consensus may be invoked in popular or political debate on subjects that are controversial within the public sphere but which may not be controversial within the scientific community, such as evolution or the claimed linkage of MMR vaccinations and autism.
There are many philosophical and historical theories as to how scientific consensus changes over time. Because the history of scientific change is extremely complicated, and because there is a tendency to project "winners" and "losers" onto the past in relation to our current scientific consensus, it is very difficult to come up with accurate and rigorous models for scientific change. This is made exceedingly difficult also in part because each of the various branches of science functions in somewhat different ways with different forms of evidence and experimental approaches.
Most models of scientific change rely on new data produced by scientific experiment. Karl Popper proposed that since no amount of experiments could ever prove a scientific theory, but a single experiment could disprove one, science should be based on falsification. Whilst this forms a logical theory for science, it is in a sense "timeless" and does not necessarily reflect a view on how science should progress over time.