Defence chiefs have warned Edinburgh locals to avoid walks in part of the Pentlands for nearly everyday in October - while trainees go through firearms and pyrotechnic exercises.
The Ministry of Defence (MOD) has designated 29 days across October for live ammunition and explosives to be tested in the Castlelaw and Dreghorn Training Area (CDTA).
The farmland has been used for training exercises since the first world war and is regularly used to host weapons practice and munitions drills.
However, a red flag warning has now been put in place for the majority of the month, with over 20 exercises expected to last the whole day.
Strict warnings are now in place for the public to avoid the CDTA, which is also popular with walkers, under “danger to life”.
An MOD statement read: “Blank ammunition and pyrotechnics can potentially be used 24/7, when red flags and/or lights are not hoisted.
“Members of the public are advised to note all signs and warnings before entering the area.
"If the red flags and/or lights are hoisted, regardless of the timings, do not enter the training area."
Dreghorn Barracks were opened in 1939 in the grounds of the former 17th-century Dreghorn Castle - which was later demolished in 1955.
The Barracks have been home to 3rd Battalion, The Rifles since 2014.
Firing times are listed below
Tuesday, October 5: midnight to midnight (24 hour firing)
Wednesday, October 6: midnight to midnight (24 hour firing)
Thursday, October 7: midnight to midnight (24 hour firing)
Friday, October 8: midnight to midnight (24 hour firing)
Saturday, October 9: midnight to midnight (24 hour firing)
Sunday, October 10: midnight to midnight (24 hour firing)
Monday October 11: midnight to midnight (24 hour firing)
Tuesday, October 12: midnight to midnight (24 hour firing)
Wednesday, October 13: midnight to midnight (24 hour firing)
Thursday, October 14: midnight to midnight (24 hour firing)
Friday, October 15 midnight to midnight (24 hour firing)
Saturday, October 16: midnight to midnight (24 hour firing)
Sunday, October 17: midnight to midnight (24 hour firing)
Monday, October 18: midnight to midnight (24 hour firing)
Tuesday, October 19: midnight to midnight (24 hour firing)
Wednesday, October 20: midnight to midnight (24 hour firing)
Thursday, October 21: midnight to midnight (24 hour firing)
Friday, October 22: midnight to midnight (24 hour firing)
Saturday, October 23: midnight to midnight (24 hour firing)
Sunday, October 24: No firing
Monday, October, 25: 6pm to midnight
Tuesday, October 26: 6pm to midnight
Wednesday, October 27: 6pm to midnight
Thursday, October 28: No firing
Friday, October 29: midnight to midnight (24 hour firing)
Saturday, October 30: midnight to midnight (24 hour firing)
Sunday, October 31: midnight to midnight (24 hour firing)