The teenagers were arrested after five firearms discharges in the town.
Two males will appear before magistrates charged with attempted murder following firearms discharges in Kirklees.
Ryan Ncube (18) from Scott Vale, Deighton, Huddersfield and a 17-year-old male from Dalton will both appear before Kirklees Magistrates Court.
Ncube was charged with attempted murder in relation to two firearms discharges in Holays and New House Road, Huddersfield last week.
The 17 –year old was charged in relation to three discharges in Holays, New House Road and Dalton Fold.
Both males were arrested following extensive enquiries into the shootings by the force's Firearms Prevent Team with support from HMET and Kirklees Police.
Enquiries remain ongoing into the discharges and officers continue to appeal for witnesses.
Anyone who has information about any of these incidents is asked to contact the Firearms Prevent Team on 101.