For a positive integer , the usual -dimensional cube is defined to be the graph , the Cartesian product of copies of . We define the generalized cube to be the graph for positive integers and . We investigate the decompositions of the complete graph and the complete -partite graph into generalized cubes when is the power of a prime and is any positive integer, and some generalizations. We also use these results to show that divides .