X-ray powder diffraction and Raman scattering of LiTaO 3 (LT) and (Li,Mg)TaO 3 (LMT) have been measured under pressure up to 46 GPa. Above 30 GPa, the ferroelectric rhombohedral phase (R3c, Z ¼ 6) of LiTaO 3 transforms to a paraelectric orthorhombic phase (Pnma with Z ¼ 4) with a large hysteresis. Rietveld profile fitting analysis shows that the Li-O bond is compressed and approaches that of Ta-O with pressure. The cation distribution analysis of the orthorhombic perovskite structure shows that Li and Ta are located in the octahedral 8-fold coordination sites. Difference Fourier jF obs (hkl)j-jF cal (hkl)j maps of LiTaO 3 and (Li,Mg)TaO 3 indicate polarization in the c axis direction and a more distinct electron density distribution around the Ta position for (Li,Mg)TaO 3 compared to LiTaO 3. The observed effective charges indicate that for (Li,Mg)TaO 3 without vacancies Ta 5þ becomes less ionized as a function of Mg substitution. Considering both site occupancy and effective charge analysis, Ta 5þ is reduced to Ta 4.13þ. Mg 2þ and O 2change to Mg 1.643þ and O 1.732-, respectively. The space-and time-averaged structures of the dynamical vibration of atoms can be elucidated from the electron density analysis by difference Fourier and temperature factors T(hkl) in the structure refinement. The refinement of the temperature factor is consistent with the cation distribution assuming full stoichiometry. The residual electron density induced from the excess electron in (Li,Mg)TaO 3 indicates more electrons around the Ta site, as confirmed by the effective charge analysis. Raman spectra of LiTaO 3 and (Li,Mg)TaO 3 show notable changes over the measured pressure range. Raman peaks centered at 250 cm À1 and 350 cm À1 at ambient pressure merge above 8 GPa, which we associate with the diminishing of difference in distances between Li-O and Ta-O bonds with pressure in both materials. Raman spectra show significant changes at 28 GPa and 33 GPa for LT and LMT, respectively, due to the structural transition from R3c to Pnma consistent with the x-ray diffraction results. V