Castaic is a community in southern California , USA . It is in the Los Angeles County area . Castaic , California , is an unincorporated community in Los Angeles County , California , north of Santa Clarita and a few miles from Six Flags Magic Mountain amusement park .