In a graph G = (V; E), an independent set is a subset S of V (G) such that no two vertices in S are adjacent. A maximal connected subgraph of G is called a component of G. In this paper, we study the problem of determining the largest and the second largest numbers of independent sets among all graphs with k ≥ 2 components. Extremal graphs achieving these values are also given.