In this paper, an efficient data hiding technique based on the discrete cosine transform (DCT) of image is proposed. In this technique, the DCT coefficient is quantized using a predefined mathematical operation then the secret bits are embedded in all frequency component of the quantized DCT coefficient using least significant-bit (LSB) to enable a large message capacity. A comparison between the proposed method and other existing methods is introduced. The results demonstrated that the performance of the proposed method is satisfied compared to them.