Is it a criminal offense to unsuccessfully attempt to commit a crime?
It depends on factors pertaining to the situation, as well as the law of the jurisdiction. In an event in which a person who intends to commit a crime makes a substantial effort to perpetrate it, but does not completely commit the crime, he or she may be guilty of attempting to commit the crime, which is a crime in itself.