Previous studies have shown an association between the thalamocortical dysconnectivity and treatment-resistant depression (TRD). Whether a single subanesthetic dose of ketamine may change thalamocortical connectivity among patients with TRD is unclear. Whether these changes in thalamocortical connectivity is associated with the antidepressant and antisuicidal effects of ketamine treatment is also unclear. Two resting-state functional MRIs were collected in two clinical trials of 48 patients with TRD (clinical trial 1; 32 receiving ketamine, 16 receiving a normal saline placebo) and 48 patients with TRD and strong suicidal ideation (clinical trial 2; 24 receiving ketamine, 24 receiving midazolam), respectively. All participants underwent rs-fMRI before and 3 days after infusion. Seed-based functional connectivity (FC) was analyzed in the left/right thalamus. FCs between the bilateral thalamus and right middle frontal cortex (BA46) and between the left thalamus and left anterior paracingulate gyrus (BA8) increased among patients in the ketamine group in clinical trials 1 and 2, respectively. FCs between the right thalamus and bilateral frontal pole (BA9) and between the right thalamus and left rostral paracingulate gyrus (BA10) decreased among patients in the ketamine group in clinical trials 1 and 2, respectively. However, the associations between those FC changes and clinical symptom changes did not survive statistical significance after multiple comparison corrections. Whether ketamine-related changes in thalamocortical connectivity may be associated with ketamine’s antidepressant and antisuicidal effects would need further investigation. Clinical trials registration: UMIN Clinical Trials Registry (UMIN-CTR): Registration number: UMIN000016985 and UMIN000033916.