Copper sulfate pentahydrate is investigated by terahertz time-domain spectroscopy. It is shown that the terahertz absorption coefficients are correlated with the particle size of the samples, as well as the heating rates of the ambient temperature. Furthermore, the water molecules of copper sulfate pentahydrate can be quantitatively characterized due to the high sensitivity of the terahertz wave to water molecules. Based on such results, the status of water incorporated in mineral opal is also characterized using terahertz time-domain spectroscopy. It indicates that terahertz technology can be considered as an efficient method to detect the dehydration of minerals.