Police allege multiple shots were fired at a house on Bert Street in Gosnells, in Perth's east, at about 12:40am on Saturday. Bullets struck a bedroom window and an external wall, and three people were inside the home at the time. No injuries were reported.
CCTV footage captured audio of the alleged drive-by shooting, with the sound of 27 shots heard on the recording.
The teenager was arrested on Monday and charged with eight offences, including unlawful use of a firearm, endangering life, possession of stolen property and no authority to drive. He appeared briefly in Perth Children's Court and did not apply for bail.