S3 Explorer
All guides

Incomplete multipart uploads — find and delete them

By ·

In short: when a multipart upload is interrupted and never completed or aborted, its parts stay in the bucket. They are invisible in normal listings, but AWS bills them as storage until the upload is aborted. List them with ListMultipartUploads, abort them with AbortMultipartUpload, and add a lifecycle rule so they are cleaned up automatically.

Why they cost money

Large files are uploaded in parts. The AWS documentation is explicit: after you initiate a multipart upload, S3 retains all parts until you complete or stop it, and "throughout its lifetime, you are billed for all storage, bandwidth, and requests for this multipart upload and its associated parts". Aborting deletes the parts, with no early-delete charge.

Interrupted uploads are common: closed laptops, killed scripts, failed CI jobs, network drops on multi-gigabyte files.

Find them

With the AWS CLI:

aws s3api list-multipart-uploads --bucket my-bucket

Each entry shows the key, the UploadId and when it was initiated. For an S3-compatible provider, add --endpoint-url.

With S3 Explorer, a bucket that holds incomplete uploads older than a threshold shows a yellow warning icon on its card. The threshold is 24 hours by default and can be set from 1 to 720 hours in Settings → Performance. The icon opens a dialog that lists each upload with its key, age and size, filters them by age, and aborts them.

S3 Explorer bucket card with a yellow warning icon and the tooltip "5 incomplete upload(s) detected. Click to review."

The warning icon on a bucket card, with the number of incomplete uploads older than the threshold.

S3 Explorer dialog listing five incomplete multipart uploads with their key, age, size and initiation date, two of them selected for abort

The dialog: 165 MB of parts across 5 uploads, filters by age, and a reminder to check for uploads still in progress before aborting.

Delete them

aws s3api abort-multipart-upload --bucket my-bucket --key path/to/file --upload-id <UploadId>

Only abort uploads that are not in progress: aborting an active upload makes it fail.

Prevent them: a lifecycle rule

AWS recommends a lifecycle rule with the AbortIncompleteMultipartUpload action:

<LifecycleConfiguration>
  <Rule>
    <ID>abort-incomplete-uploads</ID>
    <Filter/>
    <Status>Enabled</Status>
    <AbortIncompleteMultipartUpload>
      <DaysAfterInitiation>7</DaysAfterInitiation>
    </AbortIncompleteMultipartUpload>
  </Rule>
</LifecycleConfiguration>

Uploads completed within the period are not affected, and the rule applies only to incomplete uploads, never to objects.

On S3-compatible providers

  • Cloudflare R2 aborts incomplete multipart uploads automatically after 7 days by default; a lifecycle policy can change the delay.
  • Other providers differ in lifecycle support. Check their S3 compatibility page, and fall back to listing and aborting manually.

Orphaned parts are also the first thing to clear before a provider move: the EU Data Act removes switching charges on 12 January 2027, and you do not want to pay to export parts you never meant to keep.

Sources

Connection guides