It can take several months to a year to get federal security clearance. It depends on the level of clearance required for the position and how many people are in line for investigation and clearance ahead of you.