O objetivo deste artigo é investigar no trabalho de James C. Maxwell (1831-79) e Ludwig Boltzmann (1844- 1906) as bases da construção daquilo que modernamente, após Willard Gibbs (1839-1903), ficou conhecido como uma teoria de ensembles, uma abordagem metodológica que alimentou a busca por uma fundamentação estatística para as leis da termodinâmica.The purpose of this paper is to research the bases of the construction in James C. Maxwell (1831-79) and Ludwig Boltzmann’s (1844-1906) work of what is now known as the theory of ensembles, after Willard Gibbs (1893-1903). It is a methodological perspective that stimulated the search for a statistical ground for the laws of thermodynamics