The quake lasted a few seconds, and no loss of life was reported.
The epicentre of the earthquake, which was of moderate intensity, was Kishtwar area in Jammu and Kashmir.
In Himachal, the tremors were felt prominently in Shimla, Chamba, Lahaul and Spiti and Kullu and Kangra districts.
Earlier, tremors of the magnitude of 4.5 were felt for some seconds in the state on July 13.
The epicentre of that quake, which was mild, was in Kangra district of the state.