SET TIME OUT EM LOOP: setTimeout(function(){ teste(); } , 1000); function teste() { setTimeout(function(){ teste(); } , 1000); } --------------------------- PARA PARA O SET TIME OUT: Apenas não chame novamente dentro da funcao ////////////////////////////////////////////////////////////// SET INTERVAL EM LOOP: function teste() {} var intervalo = setTimeout(function() { teste(); }, 1000); --------------------------- PARA PARA O SET INTERVAL: clearInterval(intervalo); //////////////////////////////////////////////////////////////