In this paper, we address the consensus problem of second-order multi-agent system with sampled-data and packet losses. A Bernoulli stochastic variable is used to characterize the random packet losses in second-order multi-agent system with sampled-d