A principle is established to show that nanoscale energy deposition in water by X-rays can be greatly enhanced via the geometry of nanostructures. The calculated results show that enhancement over background water can reach over 60 times for a single nanoshell made of gold. Other geometries and nanostructures are investigated, and it is found that a shell of gold nanoparticles can generate similar enhancement. The concepts of composition, matrix, and satellite effects are established and studied, all of which can further increase the enhancement of the effect of X-rays.