These results indicate that μ‐opioid receptor Gi/Go signalling through GIRK channels plays a pivotal role in opioid‐induced respiratory depression. Here, GNAI1 is linked to respiratory depression.