The lid, which may be made from the same material as the electroporation device, and/or substantially optically transparent, may be provided with a securing mechanism such as one or more bumps or ridges that mate with corresponding features of the electroporation device, so as to hold the lid in place during handling.